From c1c4c18a80bb36946b1596f14c0397d4fb029f6e Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Thu, 17 Aug 2017 15:08:36 -0700 Subject: [PATCH] glxcmds: Fix a typo in the __APPLE__ codepath s/DummyContext/dummyContext/ Regressed-in: 5d9b50e596c9d81c37ce0844ae0f8c9da3f6bea6 Signed-off-by: Jeremy Huddleston Sequoia --- 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 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); -- 2.30.2