summaryrefslogtreecommitdiffstats
path: root/src/glx/single2.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-06-26 13:38:18 -0600
committerBrian Paul <[email protected]>2013-06-27 07:48:18 -0600
commitd171bc9d19a85eea56fcc34c2bd616cc264aa484 (patch)
tree304b0497be649cdbb06b716026b0d26b62974977 /src/glx/single2.c
parentd43548ca370f2653ad0a103596d5dcfcb20683dd (diff)
glx: move declarations before code
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/glx/single2.c')
-rw-r--r--src/glx/single2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glx/single2.c b/src/glx/single2.c
index 103558fb5b2..54f51ad7fd8 100644
--- a/src/glx/single2.c
+++ b/src/glx/single2.c
@@ -886,8 +886,9 @@ __indirect_glAreTexturesResident(GLsizei n, const GLuint * textures,
GLboolean retval = (GLboolean) 0;
if (__builtin_expect((n >= 0) && (dpy != NULL), 1)) {
xcb_connection_t *c = XGetXCBConnection(dpy);
+ xcb_glx_are_textures_resident_reply_t *reply;
(void) __glXFlushRenderBuffer(gc, gc->pc);
- xcb_glx_are_textures_resident_reply_t *reply =
+ reply =
xcb_glx_are_textures_resident_reply(c,
xcb_glx_are_textures_resident
(c, gc->currentContextTag, n,