mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-17 14:47:19 +01:00
Fixed warnings about unused value in test program.
This commit is contained in:
parent
a0cdcb0a8a
commit
ed5435034d
@ -28,11 +28,11 @@ DrawChessBoard(SDL_Renderer * renderer)
|
|||||||
/* Get the Size of drawing surface */
|
/* Get the Size of drawing surface */
|
||||||
SDL_RenderGetViewport(renderer, &darea);
|
SDL_RenderGetViewport(renderer, &darea);
|
||||||
|
|
||||||
for(row; row < 8; row++)
|
for( ; row < 8; row++)
|
||||||
{
|
{
|
||||||
coloum = row%2;
|
coloum = row%2;
|
||||||
x = x + coloum;
|
x = x + coloum;
|
||||||
for(coloum; coloum < 4+(row%2); coloum++)
|
for( ; coloum < 4+(row%2); coloum++)
|
||||||
{
|
{
|
||||||
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0xFF);
|
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0xFF);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user