GTK+: Update interlaced drawing.

Apply vsync on resize.
This commit is contained in:
Brandon Wright 2018-08-05 17:03:36 -05:00
parent 11beff44f1
commit a1b9a89718
2 changed files with 2 additions and 0 deletions

View File

@ -1818,6 +1818,7 @@ S9xReinitDisplay (void)
bool8
S9xContinueUpdate (int width, int height)
{
S9xDeinitUpdate (width, height);
return TRUE;
}

View File

@ -662,6 +662,7 @@ S9xOpenGLDisplayDriver::resize_window (int width, int height)
gdk_window_destroy (gdk_window);
create_window (width, height);
glXMakeCurrent (display, xwindow, glx_context);
swap_control (config->sync_to_vblank);
return;
}