Fixed error: declaration shadows a local variable [-Werror,-Wshadow]

This commit is contained in:
Sam Lantinga committed 2024-02-24 20:04:36 -08:00
1 parent 2b0e7c40ef
commit 4c5584174b
1 file changed
+1 -1
+1 -1
View File
@@ -1087,7 +1087,7 @@ static HRESULT D3D12_CreateDeviceResources(SDL_Renderer *renderer)
const DXGI_FORMAT defaultRTVFormats[] = {
DXGI_FORMAT_B8G8R8A8_UNORM,
};
int i, j, k, l;
int j, k, l;
/* Create a few default pipeline state objects, to verify that this renderer will work */
for (i = 0; i < NUM_SHADERS; ++i) {