vk_present_manager: recreate surface on any surface loss

This commit is contained in:
Liam 2023-10-02 15:08:48 -04:00
parent 7a0da729b4
commit b32940d3ea
6 changed files with 33 additions and 49 deletions

View file

@ -89,9 +89,6 @@ 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;