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 0e15c68f54
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 68 additions and 73 deletions

View file

@ -131,7 +131,7 @@ public:
~GRenderWindow() override;
// EmuWindow implementation.
void PollEvents() override;
void OnFrameDisplayed() override;
bool IsShown() const override;
std::unique_ptr<Core::Frontend::GraphicsContext> CreateSharedContext() const override;