android: Fixed UI perf regression w/ OpenGL introduced by #617
This commit is contained in:
parent
c86830313e
commit
68aab3e0e5
2 changed files with 1 additions and 2 deletions
|
|
@ -219,6 +219,6 @@ void EmuWindow_Android_OpenGL::TryPresenting() {
|
|||
eglMakeCurrent(egl_display, egl_surface, egl_surface, egl_context);
|
||||
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0);
|
||||
eglSwapInterval(egl_display, Settings::values.use_vsync_new ? 1 : 0);
|
||||
system.GPU().Renderer().TryPresent(100, is_secondary);
|
||||
system.GPU().Renderer().TryPresent(0, is_secondary);
|
||||
eglSwapBuffers(egl_display, egl_surface);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -290,7 +290,6 @@ static Core::System::ResultStatus RunCitra(const std::string& filepath) {
|
|||
std::unique_lock pause_lock{paused_mutex};
|
||||
running_cv.wait(pause_lock, [] { return !pause_emulation || stop_run; });
|
||||
window->PollEvents();
|
||||
// if (secondary_window) secondary_window->PollEvents();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue