apple: Rename GLXcontext
authorJeremy Huddleston <jeremyhu@apple.com>
Sun, 5 Jun 2011 22:22:47 +0000 (18:22 -0400)
committerJeremy Huddleston <jeremyhu@apple.com>
Sun, 5 Jun 2011 22:22:47 +0000 (18:22 -0400)
Fixes regression introduced by: c356f5867f2c1fad7155df538b9affa8dbdcf869

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
src/glx/glxcmds.c

index 2011b1129968fb0948c710643ac45aead2196009..5bd989e7dcfa494d06e02637e98ca8573e34d1d6 100644 (file)
@@ -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 {