From: Ian Romanick Date: Fri, 27 Jul 2012 01:04:50 +0000 (-0700) Subject: mesa/es: Validate glTexParameter pnames in Mesa code rather than the ES wrapper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3dd524a1082efd12d4a796122c300a61ba016d9;p=mesa.git mesa/es: Validate glTexParameter 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, GLES1, 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 c2347e52284..af98440e037 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -226,29 +226,6 @@ - - - - - - - - - - - - - - - - - - - - - - -