mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-13 00:30:29 +01:00
Set always_array=true for glGenProgramsNV (Dave Reveman)
This commit is contained in:
parent
15e74a6441
commit
2a0d441ebb
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue