From 9011eb1c41a814f383d8b1e4804c04cfdb49b543 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Mon, 28 Mar 2016 21:02:30 +0200 Subject: [PATCH] Removed not needed SDL_WINDOW_SHOWN from chessboard test program. --- test/testdrawchessboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testdrawchessboard.c b/test/testdrawchessboard.c index f2a1469d4..af929e9c3 100644 --- a/test/testdrawchessboard.c +++ b/test/testdrawchessboard.c @@ -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());