Merge pull request #4976 from comex/poll-events

Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread
This commit is contained in:
Rodrigo Locatti 2020-11-25 20:44:53 -03:00 committed by GitHub
commit d9c847bdde
10 changed files with 68 additions and 73 deletions

View file

@ -314,7 +314,7 @@ GRenderWindow::~GRenderWindow() {
input_subsystem->Shutdown();
}
void GRenderWindow::PollEvents() {
void GRenderWindow::OnFrameDisplayed() {
if (!first_frame) {
first_frame = true;
emit FirstFrameDisplayed();