Navigation Menu

Skip to content

Commit

Permalink
Removed not needed SDL_WINDOW_SHOWN from chessboard test program.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Mar 28, 2016
1 parent 62ebc52 commit 9011eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testdrawchessboard.c
Expand Up @@ -100,7 +100,7 @@ main(int argc, char *argv[])


/* Create window and renderer for given surface */
window = SDL_CreateWindow("Chess Board", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN);
window = SDL_CreateWindow("Chess Board", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, 0);
if(!window)
{
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Window creation fail : %s\n",SDL_GetError());
Expand Down

0 comments on commit 9011eb1

Please sign in to comment.