diff options
author | Kristian Høgsberg <[email protected]> | 2012-01-18 15:32:35 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2012-01-18 15:32:51 -0500 |
commit | 221c678329fd1c073d5f8dcf387129cd426ecf07 (patch) | |
tree | 2979d985c90dedac3f5ae427acbe4b761b1b4fd3 /src/gallium/state_trackers/dri | |
parent | 2f868f1ddd636bc8d4cbcd5beeef1246cec80c65 (diff) |
gbm: Validate usage flags in gbm_bo_create_from_egl_image()
The entry point is supposed to validate that the EGLImage is suitable for
the passed in usage flags, but that was never implemented.
Diffstat (limited to 'src/gallium/state_trackers/dri')
-rw-r--r-- | src/gallium/state_trackers/dri/drm/dri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c b/src/gallium/state_trackers/dri/drm/dri2.c index 2f7f1cba7e6..afd91ee27a1 100644 --- a/src/gallium/state_trackers/dri/drm/dri2.c +++ b/src/gallium/state_trackers/dri/drm/dri2.c @@ -626,7 +626,7 @@ dri2_destroy_image(__DRIimage *img) } static struct __DRIimageExtensionRec dri2ImageExtension = { - { __DRI_IMAGE, __DRI_IMAGE_VERSION }, + { __DRI_IMAGE, 1 }, dri2_create_image_from_name, dri2_create_image_from_renderbuffer, dri2_destroy_image, |