SDL: gpu: Fixed uninitialized variable in SDL_AcquireGPUCommandBuffer(). (99951)

From 9995174e68e0187336eccb693d50ce668c494d26 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Fri, 11 Jul 2025 18:18:47 -0400
Subject: [PATCH] gpu: Fixed uninitialized variable in
 SDL_AcquireGPUCommandBuffer().

Fixes #13191.

(cherry picked from commit 190afc0f4fd584028bbdba2f6d2c12c40c2825a6)
---
 src/gpu/SDL_gpu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gpu/SDL_gpu.c b/src/gpu/SDL_gpu.c
index eb06ed03635cb..8d840603318cc 100644
--- a/src/gpu/SDL_gpu.c
+++ b/src/gpu/SDL_gpu.c
@@ -1573,6 +1573,7 @@ SDL_GPUCommandBuffer *SDL_AcquireGPUCommandBuffer(
         commandBufferHeader->copy_pass.in_progress = false;
         commandBufferHeader->swapchain_texture_acquired = false;
         commandBufferHeader->submitted = false;
+        commandBufferHeader->ignore_render_pass_texture_validation = false;
         SDL_zeroa(commandBufferHeader->render_pass.vertex_sampler_bound);
         SDL_zeroa(commandBufferHeader->render_pass.vertex_storage_texture_bound);
         SDL_zeroa(commandBufferHeader->render_pass.vertex_storage_buffer_bound);