mesa: Add missing checks for GL_TEXTURE_CUBE_MAP_ARRAY
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 20 Nov 2013 21:22:05 +0000 (13:22 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 5 Dec 2013 01:22:42 +0000 (17:22 -0800)
commit01bbebce4d7e69867735115890b359c67972e654
tree4ac97e0e29b83f558d59cd0fd544173fec79ffd6
parent5cddb1ce3c9890435374ae3e03fc4a5b57dee314
mesa: Add missing checks for GL_TEXTURE_CUBE_MAP_ARRAY

That enum requires GL_ARB_texture_cube_map_array, and it is only
available on desktop GL.  It looks like this has been an un-noticed
issue since GL_ARB_texture_cube_map_array support was added in commit
e0e7e295.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texobj.c