Change Present to finish only after swap
This commit is contained in:
parent
6fff8e3921
commit
ac90cd0378
6 changed files with 20 additions and 1 deletions
|
@ -227,6 +227,7 @@ void EmuWindow_SDL2::Present() {
|
|||
while (IsOpen()) {
|
||||
VideoCore::g_renderer->Present();
|
||||
SDL_GL_SwapWindow(render_window);
|
||||
VideoCore::g_renderer->PresentComplete();
|
||||
}
|
||||
SDL_GL_MakeCurrent(render_window, nullptr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue