mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-12 08:15:45 -04:00
VulkanDevice: Fix double unload
This commit is contained in:
@ -1847,7 +1847,6 @@ GPUDevice::AdapterAndModeList VulkanDevice::StaticGetAdapterAndModeList()
|
||||
{
|
||||
if (Vulkan::LoadVulkanLibrary(nullptr))
|
||||
{
|
||||
ScopedGuard lib_guard([]() { Vulkan::UnloadVulkanLibrary(); });
|
||||
OptionalExtensions oe = {};
|
||||
const VkInstance instance = CreateVulkanInstance(WindowInfo(), &oe, false, false);
|
||||
if (instance != VK_NULL_HANDLE)
|
||||
|
Reference in New Issue
Block a user