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 | fb362f0b6eeff7e8176409f244524b81b9558178 (patch) | |
| tree | 1b76d9222948d49fbaa1252471774e81aae1419b /src/video_core/renderer_base.h | |
| parent | d57495d3c02398ddfe3274dbd9adf1c5be6b505f (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 78ea5208b9..3e12a88138 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; |
