mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
glxcmds: Fix a typo in the __APPLE__ codepath
s/DummyContext/dummyContext/
Regressed-in: 5d9b50e596
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
parent
3e96231457
commit
c1c4c18a80
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