Mesa (master): glx: Fix another missed glMultiDrawElementsEXT const change.

Eric Anholt anholt at kemper.freedesktop.org
Wed Jun 26 19:34:43 UTC 2013


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

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Jun 26 12:24:08 2013 -0700

glx: Fix another missed glMultiDrawElementsEXT const change.

The build was broken for me since
b7d9478f36bde0f7b27321378c1bb799fdd4eaa1.

---

 src/glx/indirect_vertex_array.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glx/indirect_vertex_array.c b/src/glx/indirect_vertex_array.c
index c723c9e..1d26c5e 100644
--- a/src/glx/indirect_vertex_array.c
+++ b/src/glx/indirect_vertex_array.c
@@ -1056,7 +1056,7 @@ __indirect_glMultiDrawArrays(GLenum mode, const GLint *first,
 
 void
 __indirect_glMultiDrawElementsEXT(GLenum mode, const GLsizei * count,
-                                  GLenum type, const GLvoid ** indices,
+                                  GLenum type, const GLvoid * const * indices,
                                   GLsizei primcount)
 {
    struct glx_context *gc = __glXGetCurrentContext();




More information about the mesa-commit mailing list