Removed not needed SDL_WINDOW_SHOWN from chessboard test program.

This commit is contained in:
Philipp Wiesemann 2016-03-28 21:02:30 +02:00
parent 62ebc527d0
commit 9011eb1c41
1 changed files with 1 additions and 1 deletions

View File

@ -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());