diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2008-10-12 16:38:27 +0200 |
---|---|---|
committer | Brian <brianp@vmware.com> | 2009-01-11 16:53:40 -0700 |
commit | becdd43ed9b0635b2a52f265c291bae043678b3d (patch) | |
tree | 7f7913b5b8b8abcb6d1a1b9be0bec4519246439b /src/glx/x11/glxcurrent.c | |
parent | bb3836b58b4d9af5211070e2ebef415657607195 (diff) |
Build fixes for gcc 2.95mesa_7_2_branch
Diffstat (limited to 'src/glx/x11/glxcurrent.c')
-rw-r--r-- | src/glx/x11/glxcurrent.c | 4 |
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; |