Module: Mesa
Branch: master
Commit: a9afdcc3a144f5fa4998891b2f63061e38db293a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9afdcc3a144f5fa4998891b2f63061e38db293a

Author: Emil Velikov <[email protected]>
Date:   Sat May 10 03:41:43 2014 +0100

dri_util: set implemented version of the DRI_CORE extension

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

Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>

---

 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,

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to