diff options
author | Jeremy Kolb <[email protected]> | 2005-06-22 02:36:23 +0000 |
---|---|---|
committer | Jeremy Kolb <[email protected]> | 2005-06-22 02:36:23 +0000 |
commit | 814e5360b0f556e39f1f55ea4173de412df38f7d (patch) | |
tree | 4f5d55d853aa57ddce5690e97d3f6a26993b9b70 /src/glx/x11/indirect.c | |
parent | 66a5548fbbf4c04a74b0bbc451718a8fc95502d9 (diff) |
Fixed a bug where GenQueriesARB was generating the wrong code for XCB and wouldn't compile. Not sure how that slipped through before but it should work now.
Diffstat (limited to 'src/glx/x11/indirect.c')
-rw-r--r-- | src/glx/x11/indirect.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glx/x11/indirect.c b/src/glx/x11/indirect.c index 820d5df04b5..83a2d563abf 100644 --- a/src/glx/x11/indirect.c +++ b/src/glx/x11/indirect.c @@ -7624,9 +7624,6 @@ __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); - if (XCBGlxGenQueriesARBDataLength(reply) == 0) - (void)memcpy(ids, &reply->datum, sizeof(reply->datum)); - else (void)memcpy(ids, XCBGlxGenQueriesARBData(reply), XCBGlxGenQueriesARBDataLength(reply) * sizeof(GLuint)); free(reply); #else |