one more leak
parent
059c28d5c0
commit
2a71815841
|
@ -3243,6 +3243,7 @@ static void VULKAN_INTERNAL_DestroyUniformBufferPool(
|
||||||
for (i = 0; i < uniformBufferPool->availableBufferCount; i += 1)
|
for (i = 0; i < uniformBufferPool->availableBufferCount; i += 1)
|
||||||
{
|
{
|
||||||
VULKAN_INTERNAL_DestroyBuffer(renderer, uniformBufferPool->availableBuffers[i]->vulkanBuffer);
|
VULKAN_INTERNAL_DestroyBuffer(renderer, uniformBufferPool->availableBuffers[i]->vulkanBuffer);
|
||||||
|
SDL_free(uniformBufferPool->availableBuffers[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_DestroyMutex(uniformBufferPool->lock);
|
SDL_DestroyMutex(uniformBufferPool->lock);
|
||||||
|
|
Loading…
Reference in New Issue