Skip to content

Commit fe6b216

Browse files
thatcosmonautslouken
authored andcommitted
GPU: Fix uninitialized value in Vulkan command buffer structure
1 parent 6981522 commit fe6b216

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gpu/vulkan/SDL_gpu_vulkan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9587,6 +9587,7 @@ static SDL_GPUCommandBuffer *VULKAN_AcquireCommandBuffer(
95879587

95889588
commandBuffer->autoReleaseFence = true;
95899589

9590+
commandBuffer->swapchainRequested = false;
95909591
commandBuffer->isDefrag = 0;
95919592

95929593
/* Reset the command buffer here to avoid resets being called

0 commit comments

Comments
 (0)