From: Jeremy Huddleston Sequoia Date: Thu, 17 Aug 2017 22:08:36 +0000 (-0700) Subject: glxcmds: Fix a typo in the __APPLE__ codepath X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1c4c18a80bb36946b1596f14c0397d4fb029f6e;p=mesa.git glxcmds: Fix a typo in the __APPLE__ codepath s/DummyContext/dummyContext/ Regressed-in: 5d9b50e596c9d81c37ce0844ae0f8c9da3f6bea6 Signed-off-by: Jeremy Huddleston Sequoia --- 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);