projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f0ed8
)
apple: Rename GLXcontext
author
Jeremy Huddleston
<jeremyhu@apple.com>
Sun, 5 Jun 2011 22:22:47 +0000
(18:22 -0400)
committer
Jeremy 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
patch
|
blob
|
history
diff --git
a/src/glx/glxcmds.c
b/src/glx/glxcmds.c
index 2011b1129968fb0948c710643ac45aead2196009..5bd989e7dcfa494d06e02637e98ca8573e34d1d6 100644
(file)
--- 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 {