mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-18 10:48:28 +00:00
SDL_render_sw.c: fix -Wshadow warnings.
This commit is contained in:
parent
e17a3154ed
commit
801dcbc5ef
1 changed files with 0 additions and 2 deletions
|
@ -862,7 +862,6 @@ SW_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *vertic
|
||||||
|
|
||||||
/* Apply viewport */
|
/* Apply viewport */
|
||||||
if (drawstate.viewport->x || drawstate.viewport->y) {
|
if (drawstate.viewport->x || drawstate.viewport->y) {
|
||||||
int i;
|
|
||||||
SDL_Point vp;
|
SDL_Point vp;
|
||||||
vp.x = drawstate.viewport->x;
|
vp.x = drawstate.viewport->x;
|
||||||
vp.y = drawstate.viewport->y;
|
vp.y = drawstate.viewport->y;
|
||||||
|
@ -886,7 +885,6 @@ SW_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *vertic
|
||||||
|
|
||||||
/* Apply viewport */
|
/* Apply viewport */
|
||||||
if (drawstate.viewport->x || drawstate.viewport->y) {
|
if (drawstate.viewport->x || drawstate.viewport->y) {
|
||||||
int i;
|
|
||||||
SDL_Point vp;
|
SDL_Point vp;
|
||||||
vp.x = drawstate.viewport->x;
|
vp.x = drawstate.viewport->x;
|
||||||
vp.y = drawstate.viewport->y;
|
vp.y = drawstate.viewport->y;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue