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

Chia-I Wu olv at kemper.freedesktop.org
Thu Sep 16 06:25:09 UTC 2010


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

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]
(cherry picked from commit e3c46cf58684785ab16862548d6806227f0bdd21)

---

 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