mirror of https://github.com/libsdl-org/SDL.git
GPU D3D12: Fix command buffer leak
This commit is contained in:
parent
b602c449e5
commit
906044569d
|
|
@ -1230,6 +1230,7 @@ static void D3D12_INTERNAL_DestroyCommandBuffer(D3D12CommandBuffer *commandBuffe
|
|||
SDL_free(commandBuffer->usedGraphicsPipelines);
|
||||
SDL_free(commandBuffer->usedComputePipelines);
|
||||
SDL_free(commandBuffer->usedUniformBuffers);
|
||||
SDL_free(commandBuffer->textureDownloads);
|
||||
SDL_free(commandBuffer);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue