2
0
Эх сурвалжийг харах

GPU: Fix uninitialized value in Vulkan command buffer structure

(cherry picked from commit fe6b2161bff74ce2da5d5b93c45d9f6fb7476d8d)
cosmonaut 1 сар өмнө
parent
commit
56f5a76696

+ 1 - 0
src/gpu/vulkan/SDL_gpu_vulkan.c

@@ -9587,6 +9587,7 @@ static SDL_GPUCommandBuffer *VULKAN_AcquireCommandBuffer(
 
     commandBuffer->autoReleaseFence = true;
 
+    commandBuffer->swapchainRequested = false;
     commandBuffer->isDefrag = 0;
 
     /* Reset the command buffer here to avoid resets being called