mirror of https://github.com/snes9xgit/snes9x.git
Use a flush instead of commit.
This commit is contained in:
parent
ae01dbb92c
commit
f9f7be1f6f
|
@ -1017,7 +1017,9 @@ S9xOpenGLDisplayDriver::gl_swap (void)
|
||||||
eglSwapBuffers (egl_display, egl_surface);
|
eglSwapBuffers (egl_display, egl_surface);
|
||||||
#ifdef GDK_WINDOWING_WAYLAND
|
#ifdef GDK_WINDOWING_WAYLAND
|
||||||
if (on_wayland ())
|
if (on_wayland ())
|
||||||
wl_surface_commit (wl.child);
|
{
|
||||||
|
wl_display_flush (wl.display);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#ifdef GDK_WINDOWING_X11
|
#ifdef GDK_WINDOWING_X11
|
||||||
|
|
Loading…
Reference in New Issue