diff options
author | Emil Velikov <[email protected]> | 2014-02-12 19:45:41 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-02-23 16:42:17 +0000 |
commit | fbbf5ec47169c3f8b9a43087e54ccd07f513431d (patch) | |
tree | 05f780ef60c127329d31395a4baaca5df957a205 /src/glx/dri_glx.c | |
parent | 15db8c08010c6caab60bea22bf624a80cf8401c4 (diff) |
glx/dri: use the implemented version of __DRIgetDrawableInfoExtension
... over the one provided by the headers.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/dri_glx.c')
-rw-r--r-- | src/glx/dri_glx.c | 5 |
1 files changed, 3 insertions, 2 deletions
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[] = { |