Skip to content

Commit 190afc0

Browse files
committed
gpu: Fixed uninitialized variable in SDL_AcquireGPUCommandBuffer().
Fixes #13191.
1 parent a81cf56 commit 190afc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gpu/SDL_gpu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,6 +1566,7 @@ SDL_GPUCommandBuffer *SDL_AcquireGPUCommandBuffer(
15661566
commandBufferHeader->copy_pass.in_progress = false;
15671567
commandBufferHeader->swapchain_texture_acquired = false;
15681568
commandBufferHeader->submitted = false;
1569+
commandBufferHeader->ignore_render_pass_texture_validation = false;
15691570
SDL_zeroa(commandBufferHeader->render_pass.vertex_sampler_bound);
15701571
SDL_zeroa(commandBufferHeader->render_pass.vertex_storage_texture_bound);
15711572
SDL_zeroa(commandBufferHeader->render_pass.vertex_storage_buffer_bound);

0 commit comments

Comments
 (0)