Fix bAd commit revert
Some checks failed
eden-build / linux (push) Has been cancelled
eden-build / android (push) Has been cancelled
eden-build / source (push) Has been cancelled
eden-build / windows (msvc) (push) Has been cancelled

This commit is contained in:
Briar 2025-05-02 18:42:58 +00:00 committed by edendev
parent 2133c04d20
commit a10ca9e40e

View file

@ -138,6 +138,14 @@ RendererVulkan::RendererVulkan(Core::Frontend::EmuWindow& emu_window,
turbo_mode.emplace(instance, dld);
scheduler.RegisterOnSubmit([this] { turbo_mode->QueueSubmitted(); });
}
// Release ownership from the old instance and surface
instance.release();
surface.release();
if (Settings::values.renderer_debug) {
debug_messenger.release();
}
Report();
} catch (const vk::Exception& exception) {
LOG_ERROR(Render_Vulkan, "Vulkan initialization failed with error: {}", exception.what());