mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
fixing vulkan issue
This commit is contained in:
@@ -448,13 +448,11 @@ void VulkanDestroyDescriptorSetPool(VulkanDescriptorSetPool* pool)
|
||||
{
|
||||
if(pool->used_sets[i] != PULSE_NULLPTR)
|
||||
{
|
||||
vulkan_device->vkDestroyDescriptorSetLayout(vulkan_device->device, pool->used_sets[i]->layout->layout, PULSE_NULLPTR);
|
||||
free(pool->used_sets[i]);
|
||||
pool->used_sets[i] = PULSE_NULLPTR;
|
||||
}
|
||||
if(pool->free_sets[i] != PULSE_NULLPTR)
|
||||
{
|
||||
vulkan_device->vkDestroyDescriptorSetLayout(vulkan_device->device, pool->free_sets[i]->layout->layout, PULSE_NULLPTR);
|
||||
free(pool->free_sets[i]);
|
||||
pool->free_sets[i] = PULSE_NULLPTR;
|
||||
}
|
||||
|
||||
@@ -51,6 +51,7 @@ bool VulkanInitLoader()
|
||||
};
|
||||
#else
|
||||
const char* libnames[] = {
|
||||
"/home/kbz8/Documents/SwiftShader/build/bin/libvulkan.so.1",
|
||||
"libvulkan.so.1",
|
||||
"libvulkan.so"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user