diff options
author | Emil Velikov <[email protected]> | 2014-02-12 18:51:49 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-02-23 16:42:17 +0000 |
commit | 15db8c08010c6caab60bea22bf624a80cf8401c4 (patch) | |
tree | bfced61ba8c5c9373e4be2c732d268246dd6d1ea /src/mesa/drivers/dri | |
parent | e9eb3ec3314475601d181843aed7bbab3cb0cb53 (diff) |
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 <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index 0873927de05..aed73c73f46 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -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, |