From: Ian Romanick Date: Fri, 27 Jul 2012 22:57:09 +0000 (-0700) Subject: mesa/es: Validate glGetMaterial pname in Mesa code rather than the ES wrapper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8df3f9bd5f7626a4548e9901c0b7af33a21af8a6;p=mesa.git mesa/es: Validate glGetMaterial pname in Mesa code rather than the ES wrapper Fixes a bug that glGetMaterial[fx]v in ES1 contexts would (try to) allow queries of GL_AMBIENT_AND_DIFFUSE. This enum can only be used in glMaterial, not in the get. Signed-off-by: Ian Romanick --- diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index 6d6462ca49b..e7777a7cbcf 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -612,26 +612,6 @@ - - - - - - - - - - - - - - - - - - - -