From: Keith Whitwell Date: Fri, 14 Aug 2009 17:12:08 +0000 (+0100) Subject: st/xlib: remove a couple more 'fake' references X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd5ac3cafc024a02900786c1b9e28c319250f3e3;p=mesa.git st/xlib: remove a couple more 'fake' references --- 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();