glx/dri: use the implemented version of __DRIgetDrawableInfoExtension
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Feb 2014 19:45:41 +0000 (19:45 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 23 Feb 2014 16:42:17 +0000 (16:42 +0000)
... over the one provided by the headers.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/dri_glx.c

index 03ecc5b3b05bcb2f694d65e67522df770a44bc62..859375013f1739e2bff2dcd6dde525dcde4e500a 100644 (file)
@@ -299,8 +299,9 @@ __glXDRIGetDrawableInfo(__DRIdrawable * drawable,
 }
 
 static const __DRIgetDrawableInfoExtension getDrawableInfoExtension = {
-   {__DRI_GET_DRAWABLE_INFO, __DRI_GET_DRAWABLE_INFO_VERSION},
-   __glXDRIGetDrawableInfo
+   .base = {__DRI_GET_DRAWABLE_INFO, 1 },
+
+   .getDrawableInfo     = __glXDRIGetDrawableInfo
 };
 
 static const __DRIextension *loader_extensions[] = {