diff options
author | bunnei <bunneidev@gmail.com> | 2023-06-02 05:07:18 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:06:07 +0200 |
commit | 098e2c4077f62890f83c0785e858080e9e18296c (patch) | |
tree | 1b76d9222948d49fbaa1252471774e81aae1419b /src/video_core/renderer_base.h | |
parent | android: Fix presentation layout on foldable and tablet devices. (diff) | |
download | yuzu-098e2c4077f62890f83c0785e858080e9e18296c.tar yuzu-098e2c4077f62890f83c0785e858080e9e18296c.tar.gz yuzu-098e2c4077f62890f83c0785e858080e9e18296c.tar.bz2 yuzu-098e2c4077f62890f83c0785e858080e9e18296c.tar.lz yuzu-098e2c4077f62890f83c0785e858080e9e18296c.tar.xz yuzu-098e2c4077f62890f83c0785e858080e9e18296c.tar.zst yuzu-098e2c4077f62890f83c0785e858080e9e18296c.zip |
Diffstat (limited to 'src/video_core/renderer_base.h')
-rw-r--r-- | src/video_core/renderer_base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h index 78ea5208b..3e12a8813 100644 --- a/src/video_core/renderer_base.h +++ b/src/video_core/renderer_base.h @@ -89,6 +89,9 @@ public: void RequestScreenshot(void* data, std::function<void(bool)> callback, const Layout::FramebufferLayout& layout); + /// This is called to notify the rendering backend of a surface change + virtual void NotifySurfaceChanged() {} + protected: Core::Frontend::EmuWindow& render_window; ///< Reference to the render window handle. std::unique_ptr<Core::Frontend::GraphicsContext> context; |