glx/dri: use the implemented version of __DRIgetDrawableInfoExtension

... 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>
This commit is contained in:
Emil Velikov 2014-02-12 19:45:41 +00:00
parent 15db8c0801
commit fbbf5ec471

View 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[] = {