[Mesa-dev] [PATCH 1/3] dri_util: set implemented version of the DRI_CORE extension

Emil Velikov emil.l.velikov at gmail.com
Fri May 9 19:41:43 PDT 2014


... rather than the one defined in our internal interface (dri_interface.h)

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/mesa/drivers/dri/common/dri_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index 248c361..ce8b0ed 100644
--- a/src/mesa/drivers/dri/common/dri_util.c
+++ b/src/mesa/drivers/dri/common/dri_util.c
@@ -732,7 +732,7 @@ driSwapBuffers(__DRIdrawable *pdp)
 
 /** Core interface */
 const __DRIcoreExtension driCoreExtension = {
-    .base = { __DRI_CORE, __DRI_CORE_VERSION },
+    .base = { __DRI_CORE, 1 },
 
     .createNewScreen            = NULL,
     .destroyScreen              = driDestroyScreen,
-- 
1.9.2



More information about the mesa-dev mailing list