mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
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:
parent
f6537d0608
commit
f92fbba11b
1 changed files with 6 additions and 5 deletions
|
|
@ -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[] = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue