Prevent softlock on shutdown and various cleanup
This commit is contained in:
parent
9c32c0b98b
commit
26d828fb4c
6 changed files with 21 additions and 24 deletions
|
@ -227,7 +227,6 @@ void EmuWindow_SDL2::Present() {
|
|||
while (IsOpen()) {
|
||||
VideoCore::g_renderer->TryPresent(100);
|
||||
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