egl: set KHR_gl_texture_3D_image only when the requirements are met.
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 28 Jun 2017 15:41:30 +0000 (16:41 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Jul 2017 14:45:27 +0000 (15:45 +0100)
commit4506a74cc69d7b76c8df0152daa55e9a2315e196
tree3752bd59acb9123e058556f35392086359e07c83
parent962110fa57a5876b523491b701ebe68aa6eb731b
egl: set KHR_gl_texture_3D_image only when the requirements are met.

DRI_IMAGE's createImageFromTexture is used to implement the extension,
so we should check for it prior to advertising.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/drivers/dri2/egl_dri2.c