summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/APIspec.xml
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-07-27 15:57:09 -0700
committerIan Romanick <[email protected]>2012-08-29 15:09:35 -0700
commit8df3f9bd5f7626a4548e9901c0b7af33a21af8a6 (patch)
tree81092633783eba82550e6a0273af7e2591952c3c /src/mesa/main/APIspec.xml
parent9555d7bdc1cec4cf08be85a2d1e9095de8dd3771 (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/main/APIspec.xml')
-rw-r--r--src/mesa/main/APIspec.xml20
1 files changed, 0 insertions, 20 deletions
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 @@
<param name="param" type="GLtype"/>
</vector>
</proto>
-
- <desc name="face">
- <value name="GL_FRONT"/>
- <value name="GL_BACK"/>
- </desc>
-
- <desc name="pname">
- <value name="GL_SHININESS"/>
- <desc name="params" vector_size="1"/>
- </desc>
-
- <desc name="pname">
- <value name="GL_AMBIENT"/>
- <value name="GL_DIFFUSE"/>
- <value name="GL_AMBIENT_AND_DIFFUSE"/>
- <value name="GL_SPECULAR"/>
- <value name="GL_EMISSION"/>
-
- <desc name="params" vector_size="4"/>
- </desc>
</template>
<template name="GetString" direction="get">