ui: Ensure glFinish before swap

This commit is contained in:
Matt Borgerson 2021-06-16 20:17:22 -07:00 committed by mborgerson
parent a73274794a
commit ccf6049e39
1 changed files with 1 additions and 0 deletions

View File

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