diff --git a/ui/xemu.c b/ui/xemu.c index 021b7b73f5..a93ddf10a1 100644 --- a/ui/xemu.c +++ b/ui/xemu.c @@ -1186,6 +1186,7 @@ void sdl2_gl_refresh(DisplayChangeListener *dcl) qemu_mutex_unlock_iothread(); qemu_mutex_unlock_main_loop(); + glFinish(); SDL_GL_SwapWindow(scon->real_window); /* VGA update (see note above) + vblank */