summaryrefslogtreecommitdiffstats
path: root/src/core/frontend
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-11-26 00:44:53 +0100
committerGitHub <noreply@github.com>2020-11-26 00:44:53 +0100
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 main thread (diff)
downloadyuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.gz
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.bz2
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.lz
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.xz
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.zst
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.zip
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:
float render_surface_scale = 1.0f;
};
- /// Polls window events
- virtual void PollEvents() = 0;
+ /// Called from GPU thread when a frame is displayed.
+ virtual void OnFrameDisplayed() {}
/**
* Returns a GraphicsContext that the frontend provides to be used for rendering.