mesa/es: Validate glFramebufferTexture2D textarget in Mesa code rather than the ES...
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 27 Jul 2012 14:22:41 +0000 (07:22 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Aug 2012 22:09:34 +0000 (15:09 -0700)
commit7f991d26ad189bc3c08c04dc248a5b2df5ce9f68
tree76ccc46ae708182c55f025c96c44f45e1d7359f0
parent2809ae3d445bc10a79f119946439431ba73bb069
mesa/es: Validate glFramebufferTexture2D textarget in Mesa code rather than the ES wrapper

v2: Add proper core-profile and GLES3 filtering.

v3: Change !_mesa_is_desktop_gl tests to _mesa_is_gles test.  The test
around GL_TEXTURE_2D_ARRAY got some other changes because that enum is
also available with GLES3 (which uses API_OPENGLES2).  Based on review
feedback from Eric Anholt.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/APIspec.xml
src/mesa/main/fbobject.c