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:
commit
0e15c68f54
10 changed files with 68 additions and 73 deletions
|
@ -314,7 +314,7 @@ GRenderWindow::~GRenderWindow() {
|
|||
input_subsystem->Shutdown();
|
||||
}
|
||||
|
||||
void GRenderWindow::PollEvents() {
|
||||
void GRenderWindow::OnFrameDisplayed() {
|
||||
if (!first_frame) {
|
||||
first_frame = true;
|
||||
emit FirstFrameDisplayed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue