From: Ian Romanick Date: Fri, 27 Jul 2012 14:24:37 +0000 (-0700) Subject: mesa/es: Validate glGenerateMipmap target in Mesa code rather than the ES wrapper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b44a77428863292d49aeed2960afbde5ee8f509;p=mesa.git mesa/es: Validate glGenerateMipmap target in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. v3: Fix a typo in GL_TEXTURE_2D_ARRAY checking. v4: 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 --- diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index 9aa38187e59..2b06367282b 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -2061,13 +2061,6 @@ - - - - - - -