diff options
| author | 2020-11-25 20:44:53 -0300 | |
|---|---|---|
| committer | 2020-11-25 20:44:53 -0300 | |
| commit | 0e15c68f54ae5217e6247603b9e31757515f89e1 (patch) | |
| tree | 5547698f9917260b0172298b9c2219a399063987 /src/core/frontend | |
| parent | Merge pull request #4946 from ameerj/alpha-test (diff) | |
| parent | Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off mai... (diff) | |
| download | yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.gz yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.xz yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.zip | |
Merge pull request #4976 from comex/poll-events
Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread
Diffstat (limited to 'src/core/frontend')
| -rw-r--r-- | src/core/frontend/emu_window.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/frontend/emu_window.h b/src/core/frontend/emu_window.h index 3e8780243..276d2b906 100644 --- a/src/core/frontend/emu_window.h +++ b/src/core/frontend/emu_window.h | |||
| @@ -102,8 +102,8 @@ public: | |||
| 102 | float render_surface_scale = 1.0f; | 102 | float render_surface_scale = 1.0f; |
| 103 | }; | 103 | }; |
| 104 | 104 | ||
| 105 | /// Polls window events | 105 | /// Called from GPU thread when a frame is displayed. |
| 106 | virtual void PollEvents() = 0; | 106 | virtual void OnFrameDisplayed() {} |
| 107 | 107 | ||
| 108 | /** | 108 | /** |
| 109 | * Returns a GraphicsContext that the frontend provides to be used for rendering. | 109 | * Returns a GraphicsContext that the frontend provides to be used for rendering. |