Mesa (master): st/xlib: remove a couple more 'fake' references

Keith Whitwell keithw at kemper.freedesktop.org
Wed Aug 19 11:04:21 UTC 2009


Module: Mesa
Branch: master
Commit: dd5ac3cafc024a02900786c1b9e28c319250f3e3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd5ac3cafc024a02900786c1b9e28c319250f3e3

Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Aug 14 18:12:08 2009 +0100

st/xlib: remove a couple more 'fake' references

---

 src/gallium/state_trackers/glx/xlib/glx_api.c |    6 ++----
 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 22601a1..d1a98f8 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();




More information about the mesa-commit mailing list