mirror of
https://github.com/ZDoom/ZDRay.git
synced 2024-11-12 23:54:27 +00:00
Fix missing ShInitialize call
This commit is contained in:
parent
d88c2ef41c
commit
44b1d90968
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,7 @@ VulkanDevice::VulkanDevice(int vk_device, bool vk_debug) : vk_device(vk_device),
|
|||
|
||||
try
|
||||
{
|
||||
ShInitialize();
|
||||
initVolk();
|
||||
createInstance();
|
||||
selectPhysicalDevice();
|
||||
|
@ -537,6 +538,8 @@ void VulkanDevice::releaseResources()
|
|||
if (instance)
|
||||
vkDestroyInstance(instance, nullptr);
|
||||
instance = VK_NULL_HANDLE;
|
||||
|
||||
ShFinalize();
|
||||
}
|
||||
|
||||
uint32_t VulkanDevice::findMemoryType(uint32_t typeFilter, VkMemoryPropertyFlags properties)
|
||||
|
|
Loading…
Reference in a new issue