mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 14:08:05 +02:00
glxcmds: Fix a typo in the __APPLE__ codepath
s/DummyContext/dummyContext/ Regressed-in:5d9b50e596Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> (cherry picked from commitc1c4c18a80)
This commit is contained in:
parent
3165f9877e
commit
cc8ae8842b
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue