mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 11:28:15 +00:00
Fixed error: declaration shadows a local variable [-Werror,-Wshadow]
This commit is contained in:
@@ -1087,7 +1087,7 @@ static HRESULT D3D12_CreateDeviceResources(SDL_Renderer *renderer)
|
|||||||
const DXGI_FORMAT defaultRTVFormats[] = {
|
const DXGI_FORMAT defaultRTVFormats[] = {
|
||||||
DXGI_FORMAT_B8G8R8A8_UNORM,
|
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 */
|
/* Create a few default pipeline state objects, to verify that this renderer will work */
|
||||||
for (i = 0; i < NUM_SHADERS; ++i) {
|
for (i = 0; i < NUM_SHADERS; ++i) {
|
||||||
|
Reference in New Issue
Block a user