android: renderer_vulkan: Fix crash with surface recreation.
This commit is contained in:
parent
057117f009
commit
098e2c4077
5 changed files with 36 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue