diff options
author | Jeremy Huddleston Sequoia <[email protected]> | 2017-08-17 15:08:36 -0700 |
---|---|---|
committer | Jeremy Huddleston Sequoia <[email protected]> | 2017-08-17 15:13:33 -0700 |
commit | c1c4c18a80bb36946b1596f14c0397d4fb029f6e (patch) | |
tree | 6686d19a7333e8dc1a8e9f25679e90123d80c86e /src/glx/glxcmds.c | |
parent | 3e9623145760883b431c0902b198d71d003ef7a0 (diff) |
glxcmds: Fix a typo in the __APPLE__ codepath
s/DummyContext/dummyContext/
Regressed-in: 5d9b50e596c9d81c37ce0844ae0f8c9da3f6bea6
Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
Diffstat (limited to 'src/glx/glxcmds.c')
-rw-r--r-- | src/glx/glxcmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index 290c86c6cd2..44992f18cf0 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -820,7 +820,7 @@ glXSwapBuffers(Display * dpy, GLXDrawable drawable) { #ifdef GLX_USE_APPLEGL struct glx_context * gc = __glXGetCurrentContext(); - if(gc != &DummyContext && apple_glx_is_current_drawable(dpy, gc->driContext, drawable)) { + if(gc != &dummyContext && apple_glx_is_current_drawable(dpy, gc->driContext, drawable)) { apple_glx_swap_buffers(gc->driContext); } else { __glXSendError(dpy, GLXBadCurrentWindow, 0, X_GLXSwapBuffers, false); |