summaryrefslogtreecommitdiff
path: root/src/glx/x11/glxcurrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/x11/glxcurrent.c')
-rw-r--r--src/glx/x11/glxcurrent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/x11/glxcurrent.c b/src/glx/x11/glxcurrent.c
index d40f87637e..efacefc7bd 100644
--- a/src/glx/x11/glxcurrent.c
+++ b/src/glx/x11/glxcurrent.c
@@ -354,7 +354,7 @@ static Bool MakeContextCurrent(Display *dpy, GLXDrawable draw,
const CARD8 oldOpcode = ((gc == oldGC) || (oldGC == &dummyContext))
? opcode : __glXSetupForCommand(oldGC->currentDpy);
Bool bindReturnValue;
-
+ __GLXattribute *state;
if (!opcode || !oldOpcode) {
return GL_FALSE;
@@ -475,7 +475,7 @@ static Bool MakeContextCurrent(Display *dpy, GLXDrawable draw,
} while (0);
#endif
- __GLXattribute *state =
+ state =
(__GLXattribute *)(gc->client_state_private);
gc->currentContextTag = reply.contextTag;