From a6a5772250bb6e0b6eebbb687717559e3699e5ba Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sun, 5 Jun 2011 18:22:47 -0400 Subject: [PATCH] apple: Rename GLXcontext Fixes regression introduced by: c356f5867f2c1fad7155df538b9affa8dbdcf869 Signed-off-by: Jeremy Huddleston (cherry picked from commit 279e471750e3ee6a4841ebf16ef2d038e1c12077) --- src/glx/glxcmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index f26ba1d9a37..0d41fe0c43c 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -710,7 +710,7 @@ _X_EXPORT void glXSwapBuffers(Display * dpy, GLXDrawable drawable) { #ifdef GLX_USE_APPLEGL - GLXContext gc = glXGetCurrentContext(); + struct glx_context * gc = __glXGetCurrentContext(); if(gc && apple_glx_is_current_drawable(dpy, gc->driContext, drawable)) { apple_glx_swap_buffers(gc->driContext); } else {