summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/glx
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-08-14 18:12:08 +0100
committerKeith Whitwell <[email protected]>2009-08-19 12:02:53 +0100
commitdd5ac3cafc024a02900786c1b9e28c319250f3e3 (patch)
treefb875c426361b5ee90d275f96954a8c45fe908c4 /src/gallium/state_trackers/glx
parent515a820021c208c87deac20deea41ef5621e74ea (diff)
st/xlib: remove a couple more 'fake' references
Diffstat (limited to 'src/gallium/state_trackers/glx')
-rw-r--r--src/gallium/state_trackers/glx/xlib/glx_api.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c
index 22601a11962..d1a98f89917 100644
--- a/src/gallium/state_trackers/glx/xlib/glx_api.c
+++ b/src/gallium/state_trackers/glx/xlib/glx_api.c
@@ -1298,10 +1298,8 @@ void
glXCopyContext( Display *dpy, GLXContext src, GLXContext dst,
unsigned long mask )
{
- GLXContext fakeSrc = src;
- GLXContext fakeDst = dst;
- XMesaContext xm_src = fakeSrc->xmesaContext;
- XMesaContext xm_dst = fakeDst->xmesaContext;
+ XMesaContext xm_src = src->xmesaContext;
+ XMesaContext xm_dst = dst->xmesaContext;
(void) dpy;
if (MakeCurrent_PrevContext == src) {
_mesa_Flush();