summaryrefslogtreecommitdiff
path: root/src/core/frontend
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2020-11-25 20:44:53 -0300
committerGravatar GitHub2020-11-25 20:44:53 -0300
commit0e15c68f54ae5217e6247603b9e31757515f89e1 (patch)
tree5547698f9917260b0172298b9c2219a399063987 /src/core/frontend
parentMerge pull request #4946 from ameerj/alpha-test (diff)
parentOverhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off mai... (diff)
downloadyuzu-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.h4
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.