Use a flush instead of commit.

This commit is contained in:
Brandon Wright 2018-10-18 18:00:27 -05:00
parent ae01dbb92c
commit f9f7be1f6f
1 changed files with 3 additions and 1 deletions

View File

@ -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