summaryrefslogtreecommitdiffstats
path: root/src/glx/glxcmds.c
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2011-06-05 18:22:47 -0400
committerJeremy Huddleston <[email protected]>2011-06-05 18:22:47 -0400
commit279e471750e3ee6a4841ebf16ef2d038e1c12077 (patch)
treec65de89acd5ad139e939da477c806745811bcea7 /src/glx/glxcmds.c
parentb7f0ed8444544b7fc927823a903db93ebf723cad (diff)
apple: Rename GLXcontext
Fixes regression introduced by: c356f5867f2c1fad7155df538b9affa8dbdcf869 Signed-off-by: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/glx/glxcmds.c')
-rw-r--r--src/glx/glxcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index 2011b112996..5bd989e7dcf 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -706,7 +706,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 {