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

This commit is contained in:
Sam Lantinga
2024-02-24 20:04:07 -08:00
parent 2b0e7c40ef
commit 4c5584174b

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) {