glx/drisw: use the implemented version of __DRIswrastLoaderExtension

... over the one provided by the headers.
Explicitly set extension members to improve clarity.

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 20:08:07 +00:00
parent f6537d0608
commit f92fbba11b

View file

@ -240,11 +240,12 @@ swrastGetImage(__DRIdrawable * read,
}
static const __DRIswrastLoaderExtension swrastLoaderExtension = {
{__DRI_SWRAST_LOADER, __DRI_SWRAST_LOADER_VERSION},
swrastGetDrawableInfo,
swrastPutImage,
swrastGetImage,
swrastPutImage2,
.base = {__DRI_SWRAST_LOADER, 2 },
.getDrawableInfo = swrastGetDrawableInfo,
.putImage = swrastPutImage,
.getImage = swrastGetImage,
.putImage2 = swrastPutImage2,
};
static const __DRIextension *loader_extensions[] = {