dri_util: use the implemented version of __DRIimageDriverExtension
... over the one provided by the headers. 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
e9eb3ec331
commit
15db8c0801
|
@ -874,7 +874,7 @@ driImageFormatToGLFormat(uint32_t image_format)
|
|||
|
||||
/** Image driver interface */
|
||||
const __DRIimageDriverExtension driImageDriverExtension = {
|
||||
.base = { __DRI_IMAGE_DRIVER, __DRI_IMAGE_DRIVER_VERSION },
|
||||
.base = { __DRI_IMAGE_DRIVER, 1 },
|
||||
|
||||
.createNewScreen2 = driCreateNewScreen2,
|
||||
.createNewDrawable = driCreateNewDrawable,
|
||||
|
|
Loading…
Reference in New Issue