SDL_render_sw.c: fix -Wshadow warnings.

This commit is contained in:
Ozkan Sezer 2021-12-07 14:04:10 +03:00
parent e17a3154ed
commit 801dcbc5ef
1 changed files with 0 additions and 2 deletions

View File

@ -862,7 +862,6 @@ SW_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *vertic
/* Apply viewport */
if (drawstate.viewport->x || drawstate.viewport->y) {
int i;
SDL_Point vp;
vp.x = drawstate.viewport->x;
vp.y = drawstate.viewport->y;
@ -886,7 +885,6 @@ SW_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *vertic
/* Apply viewport */
if (drawstate.viewport->x || drawstate.viewport->y) {
int i;
SDL_Point vp;
vp.x = drawstate.viewport->x;
vp.y = drawstate.viewport->y;