dri_util: set implemented version of the DRI_CORE extension
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 10 May 2014 02:41:43 +0000 (03:41 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 25 May 2014 22:21:45 +0000 (23:21 +0100)
... rather than the one defined in our internal interface (dri_interface.h)

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/common/dri_util.c

index 248c361652401937c7879ce273670ff0742efd37..ce8b0edc012bb4bd2a2fbdf21cae85152979305c 100644 (file)
@@ -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,