glapi: Fix ES build errors again.
authorChia-I Wu <olv@lunarg.com>
Wed, 15 Sep 2010 13:12:38 +0000 (21:12 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 15 Sep 2010 13:19:44 +0000 (21:19 +0800)
This fixes an error in GLAPI ES.  My build is ok with or without this
patch, and the error affects others' setups.

[Patch from Francesco Marella]

src/mapi/glapi/gen-es/es_EXT.xml

index 113d8d7..0013df8 100644 (file)
 <category name="GL_EXT_multi_draw_arrays" number="69">
     <function name="MultiDrawArraysEXT" offset="assign">
         <param name="mode" type="GLenum"/>
-        <param name="first" type="GLint *"/> <!-- Spec bug. Should be const. -->
-        <param name="count" type="GLsizei *"/> <!-- Spec bug. Should be const. -->
+        <param name="first" type="const GLint *"/>
+        <param name="count" type="const GLsizei *"/>
         <param name="primcount" type="GLsizei"/>
         <glx handcode="true"/>
     </function>