mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 14:29:14 +08:00
GPU: Fix memory leak in Vulkan command buffer
This commit is contained in:
@@ -3179,7 +3179,9 @@ static void VULKAN_INTERNAL_DestroyCommandPool(
|
|||||||
SDL_free(commandBuffer->waitSemaphores);
|
SDL_free(commandBuffer->waitSemaphores);
|
||||||
SDL_free(commandBuffer->signalSemaphores);
|
SDL_free(commandBuffer->signalSemaphores);
|
||||||
SDL_free(commandBuffer->usedBuffers);
|
SDL_free(commandBuffer->usedBuffers);
|
||||||
|
SDL_free(commandBuffer->buffersUsedInPendingTransfers);
|
||||||
SDL_free(commandBuffer->usedTextures);
|
SDL_free(commandBuffer->usedTextures);
|
||||||
|
SDL_free(commandBuffer->texturesUsedInPendingTransfers);
|
||||||
SDL_free(commandBuffer->usedSamplers);
|
SDL_free(commandBuffer->usedSamplers);
|
||||||
SDL_free(commandBuffer->usedGraphicsPipelines);
|
SDL_free(commandBuffer->usedGraphicsPipelines);
|
||||||
SDL_free(commandBuffer->usedComputePipelines);
|
SDL_free(commandBuffer->usedComputePipelines);
|
||||||
|
|||||||
Reference in New Issue
Block a user