Removed not needed SDL_WINDOW_SHOWN from chessboard test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Mon, 28 Mar 2016 21:02:30 +0200
changeset 10132 b1e3eae293a2
parent 10131 65dffb9b1b34
child 10133 eba8155e32b1
Removed not needed SDL_WINDOW_SHOWN from chessboard test program.
test/testdrawchessboard.c
--- a/test/testdrawchessboard.c	Mon Mar 28 21:01:46 2016 +0200
+++ b/test/testdrawchessboard.c	Mon Mar 28 21:02:30 2016 +0200
@@ -100,7 +100,7 @@
 
 
     /* 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());