From: Emil Velikov Date: Wed, 12 Feb 2014 19:45:41 +0000 (+0000) Subject: glx/dri: use the implemented version of __DRIgetDrawableInfoExtension X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbbf5ec47169c3f8b9a43087e54ccd07f513431d;p=mesa.git glx/dri: use the implemented version of __DRIgetDrawableInfoExtension ... over the one provided by the headers. Signed-off-by: Emil Velikov Reviewed-by: Ian Romanick --- diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c index 03ecc5b3b05..859375013f1 100644 --- a/src/glx/dri_glx.c +++ b/src/glx/dri_glx.c @@ -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[] = {