aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-03-14 15:41:53 +0000
committerBrian Paul <[email protected]>2006-03-14 15:41:53 +0000
commit2a0d441ebb732496c2fd7d381bc19540803bbb77 (patch)
tree2af6ba374494eff8a9d14291897aae164c1f4d57 /src
parent15e74a64414ac88439f54f6cab2619c2a2655842 (diff)
Set always_array=true for glGenProgramsNV (Dave Reveman)
Diffstat (limited to 'src')
-rw-r--r--src/glx/x11/indirect.c2
-rw-r--r--src/mesa/glapi/gl_API.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/glx/x11/indirect.c b/src/glx/x11/indirect.c
index 2a4db6578a7..8242ee1d3dd 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 16f290e85c4..9fb99e381a4 100644
--- a/src/mesa/glapi/gl_API.xml
+++ b/src/mesa/glapi/gl_API.xml
@@ -10447,8 +10447,8 @@
<function name="GenProgramsNV" offset="582">
<param name="n" type="GLsizei" counter="true"/>
<param name="programs" type="GLuint *" output="true" count="n"/>
- <glx vendorpriv="1295"/>
- </function>
+ <glx vendorpriv="1295" always_array="true"/>
+ </function>
<!-- This isn't 100% correct. Currently, the only valid value of pname
is GL_PROGRAM_PARAMETER_NV, and the count for that pname is always