[Mesa-dev] [PATCH 03/12] mesa: Fix enum definition of CULL_VERTEX_EYE/OBJECT_POSITION

Eric Anholt eric at anholt.net
Wed Nov 25 19:10:46 PST 2015


In converting to using the Khronos XML, I found that our XML had these two
swapped, and the text spec agreed.
---
 src/mapi/glapi/gen/gl_API.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index ec83cd4..faf9263 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -9687,11 +9687,11 @@
 
 <category name="GL_EXT_cull_vertex" number="98">
     <enum name="CULL_VERTEX_EXT"                          value="0x81AA"/>
-    <enum name="CULL_VERTEX_OBJECT_POSITION_EXT" count="4" value="0x81AB">
+    <enum name="CULL_VERTEX_EYE_POSITION_EXT"  count="4"  value="0x81AB">
         <size name="CullParameterfv"/>
         <size name="CullParameterdv"/>
     </enum>
-    <enum name="CULL_VERTEX_EYE_POSITION_EXT"  count="4"  value="0x81AC">
+    <enum name="CULL_VERTEX_OBJECT_POSITION_EXT" count="4" value="0x81AC">
         <size name="CullParameterfv"/>
         <size name="CullParameterdv"/>
     </enum>
-- 
2.6.2



More information about the mesa-dev mailing list