mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
glx/dri3: set the implemented version of __DRIimageLoaderExtension
... over the one provided by the spec. Currently both versions are identical, but that is not guaranteed to be the case in the future. 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
4e229a6e86
commit
e9eb3ec331
1 changed files with 4 additions and 3 deletions
|
|
@ -1307,9 +1307,10 @@ dri3_get_buffers(__DRIdrawable *driDrawable,
|
|||
/* The image loader extension record for DRI3
|
||||
*/
|
||||
static const __DRIimageLoaderExtension imageLoaderExtension = {
|
||||
{__DRI_IMAGE_LOADER, __DRI_IMAGE_LOADER_VERSION},
|
||||
.getBuffers = dri3_get_buffers,
|
||||
.flushFrontBuffer = dri3_flush_front_buffer,
|
||||
.base = { __DRI_IMAGE_LOADER, 1 },
|
||||
|
||||
.getBuffers = dri3_get_buffers,
|
||||
.flushFrontBuffer = dri3_flush_front_buffer,
|
||||
};
|
||||
|
||||
/** dri3_swap_buffers
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue