test: fix shadowing variables

This commit is contained in:
Christian Rauch
2021-03-29 09:01:26 -07:00
committed by Sam Lantinga
parent b972258d56
commit 570768f627
7 changed files with 18 additions and 19 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ SDL_Surface *surface;
int done;
void
DrawChessBoard(SDL_Renderer * renderer)
DrawChessBoard()
{
int row = 0,column = 0,x = 0;
SDL_Rect rect, darea;
@@ -90,7 +90,7 @@ loop()
}
}
DrawChessBoard(renderer);
DrawChessBoard();
/* Got everything on rendering surface,
now Update the drawing image on window screen */