Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed not needed calculation in test program.
  • Loading branch information
philippwiesemann committed Jun 4, 2015
1 parent 38549a7 commit eab076a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/testdrawchessboard.c
Expand Up @@ -39,7 +39,7 @@ DrawChessBoard(SDL_Renderer * renderer)
for( ; row < 8; row++)
{
column = row%2;
x = x + column;
x = column;
for( ; column < 4+(row%2); column++)
{
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0xFF);
Expand All @@ -51,7 +51,6 @@ DrawChessBoard(SDL_Renderer * renderer)
x = x + 2;
SDL_RenderFillRect(renderer, &rect);
}
x=0;
}
}

Expand Down

0 comments on commit eab076a

Please sign in to comment.