summaryrefslogtreecommitdiffstats
path: root/src/core/frontend
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2020-11-22 22:05:18 +0100
committercomex <comexk@gmail.com>2020-11-23 23:58:49 +0100
commit994f4977810749c0b597e7a7531a02d907967a68 (patch)
tree82eaf8b6dea5baf60e17601771dc8191b8e69a8f /src/core/frontend
parentMerge pull request #4451 from slashiee/extended-logging (diff)
downloadyuzu-994f4977810749c0b597e7a7531a02d907967a68.tar
yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.gz
yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.bz2
yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.lz
yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.xz
yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.zst
yuzu-994f4977810749c0b597e7a7531a02d907967a68.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.