Fix bAd commit revert
This commit is contained in:
parent
6156a69f9d
commit
49c6b1a66a
1 changed files with 8 additions and 0 deletions
|
@ -138,6 +138,14 @@ RendererVulkan::RendererVulkan(Core::Frontend::EmuWindow& emu_window,
|
||||||
turbo_mode.emplace(instance, dld);
|
turbo_mode.emplace(instance, dld);
|
||||||
scheduler.RegisterOnSubmit([this] { turbo_mode->QueueSubmitted(); });
|
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();
|
Report();
|
||||||
} catch (const vk::Exception& exception) {
|
} catch (const vk::Exception& exception) {
|
||||||
LOG_ERROR(Render_Vulkan, "Vulkan initialization failed with error: {}", exception.what());
|
LOG_ERROR(Render_Vulkan, "Vulkan initialization failed with error: {}", exception.what());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue