mirror of https://github.com/encounter/SDL.git
SDL_render_sw.c: fix -Wshadow warnings.
This commit is contained in:
parent
e17a3154ed
commit
801dcbc5ef
|
@ -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…
Reference in New Issue