diff options
author | Ian Romanick <idr@us.ibm.com> | 2005-06-22 17:11:20 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2005-06-22 17:11:20 +0000 |
commit | 2636e853f60cf6944d04c9eb4bf25e8ef83c1cb3 (patch) | |
tree | 889a3e42746f7ec4111fe3196d2ebf7252da6081 /src/glx | |
parent | 814e5360b0f556e39f1f55ea4173de412df38f7d (diff) | |
download | external_mesa3d-2636e853f60cf6944d04c9eb4bf25e8ef83c1cb3.zip external_mesa3d-2636e853f60cf6944d04c9eb4bf25e8ef83c1cb3.tar.gz external_mesa3d-2636e853f60cf6944d04c9eb4bf25e8ef83c1cb3.tar.bz2 |
Mark GenQueriesARB at 'always_array="true"'. This eliminates the need
to special-case the handling of that function in glX_proto_send.py.
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/x11/indirect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/indirect.c b/src/glx/x11/indirect.c index 83a2d56..42e961e 100644 --- a/src/glx/x11/indirect.c +++ b/src/glx/x11/indirect.c @@ -7624,12 +7624,12 @@ __indirect_glGenQueriesARB(GLsizei n, GLuint * ids) XCBConnection *c = XCBConnectionOfDisplay(dpy); (void) __glXFlushRenderBuffer(gc, gc->pc); XCBGlxGenQueriesARBRep *reply = XCBGlxGenQueriesARBReply(c, XCBGlxGenQueriesARB(c, gc->currentContextTag, n), NULL); - (void)memcpy(ids, XCBGlxGenQueriesARBData(reply), XCBGlxGenQueriesARBDataLength(reply) * sizeof(GLuint)); + ids = (GLuint *)XCBGlxGenQueriesARBData(reply); free(reply); #else GLubyte const * pc = __glXSetupSingleRequest(gc, X_GLsop_GenQueriesARB, cmdlen); (void) memcpy((void *)(pc + 0), (void *)(&n), 4); - (void) __glXReadReply(dpy, 4, ids, GL_FALSE); + (void) __glXReadReply(dpy, 4, ids, GL_TRUE); UnlockDisplay(dpy); SyncHandle(); #endif /* USE_XCB */ } |