From: Brian Paul Date: Tue, 14 Mar 2006 15:41:53 +0000 (+0000) Subject: Set always_array=true for glGenProgramsNV (Dave Reveman) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a0d441ebb732496c2fd7d381bc19540803bbb77;p=mesa.git Set always_array=true for glGenProgramsNV (Dave Reveman) --- 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 @@ - - + +