diff options
| author | bunnei <bunneidev@gmail.com> | 2023-06-01 20:07:18 -0700 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2023-06-03 00:06:07 -0700 |
| commit | 098e2c4077f62890f83c0785e858080e9e18296c (patch) | |
| tree | 1b76d9222948d49fbaa1252471774e81aae1419b /src/video_core/renderer_base.h | |
| parent | 057117f0096a47b07f9070d48a0dbd952ab0522e (diff) | |
android: renderer_vulkan: Fix crash with surface recreation.
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; |
