From: Ian Romanick Date: Fri, 27 Jul 2012 01:15:40 +0000 (-0700) Subject: mesa/es: Validate glGetTexParameter pnames in Mesa code rather than the ES wrapper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9689e3e55928d4a95f1c10c7a33fffba8cbdece;p=mesa.git mesa/es: Validate glGetTexParameter pnames in Mesa code rather than the ES wrapper This also adds a missing extension (and API) check around GL_TEXTURE_CROP_RECT_OES. v2: Add proper core-profile and GLES3 filtering. GL_TEXTURE_MAX_LEVEL is (incorrectly) accepted in ES contexts. A future patch will add GL_APPLE_texture_max_level, and meta really needs this. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke Reviewed-by: Jordan Justen --- diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index af98440e037..09ba424609b 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -1174,22 +1174,6 @@ - - - - - - - - - - - - - - - -