summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-03-14 15:44:43 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-03-14 15:44:43 +0000
commit56aeed0dc5bcc13065d6a6ee31946edea29e7595 (patch)
tree058ea78c271025cb76e67610888fd9cfa63778f0
parentfc3cbc75217d7959410c557f6f79630765ef62d9 (diff)
Set always_array=true for glGenProgramsNV (Dave Reveman)
-rw-r--r--src/glx/x11/indirect.c2
-rw-r--r--src/mesa/glapi/gl_API.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/indirect.c b/src/glx/x11/indirect.c
index 2a4db6578a..8242ee1d3d 100644
--- a/src/glx/x11/indirect.c
+++ b/src/glx/x11/indirect.c
@@ -6321,7 +6321,7 @@ __indirect_glGenProgramsNV(GLsizei n, GLuint * programs)
if (__builtin_expect((n >= 0) && (dpy != NULL), 1)) {
GLubyte const * pc = __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply, X_GLvop_GenProgramsNV, cmdlen);
(void) memcpy((void *)(pc + 0), (void *)(&n), 4);
- (void) __glXReadReply(dpy, 4, programs, GL_FALSE);
+ (void) __glXReadReply(dpy, 4, programs, GL_TRUE);
UnlockDisplay(dpy); SyncHandle();
}
return;
diff --git a/src/mesa/glapi/gl_API.xml b/src/mesa/glapi/gl_API.xml
index 4f9d8c474e..9ad6afd265 100644
--- a/src/mesa/glapi/gl_API.xml
+++ b/src/mesa/glapi/gl_API.xml
@@ -10447,7 +10447,7 @@
<function name="GenProgramsNV" offset="582">
<param name="n" type="GLsizei" counter="true"/>
<param name="programs" type="GLuint *" output="true" count="n"/>
- <glx vendorpriv="1295"/>
+ <glx vendorpriv="1295" always_array="true"/>
</function>
<!-- This isn't 100% correct. Currently, the only valid value of pname