Mesa (master): glapi: Fix ES build errors again.

Chia-I Wu olv at kemper.freedesktop.org
Wed Sep 15 13:20:22 UTC 2010


Module: Mesa
Branch: master
Commit: e3c46cf58684785ab16862548d6806227f0bdd21
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3c46cf58684785ab16862548d6806227f0bdd21

Author: Chia-I Wu <olv at lunarg.com>
Date:   Wed Sep 15 21:12:38 2010 +0800

glapi: Fix ES build errors again.

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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mapi/glapi/gen-es/es_EXT.xml b/src/mapi/glapi/gen-es/es_EXT.xml
index 113d8d7..0013df8 100644
--- a/src/mapi/glapi/gen-es/es_EXT.xml
+++ b/src/mapi/glapi/gen-es/es_EXT.xml
@@ -106,8 +106,8 @@
 <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>




More information about the mesa-commit mailing list