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 10129b1e3eae293a2
parent 10128 65dffb9b1b34
child 10130 eba8155e32b1
Removed not needed SDL_WINDOW_SHOWN from chessboard test program.
test/testdrawchessboard.c
     1.1 --- a/test/testdrawchessboard.c	Mon Mar 28 21:01:46 2016 +0200
     1.2 +++ b/test/testdrawchessboard.c	Mon Mar 28 21:02:30 2016 +0200
     1.3 @@ -100,7 +100,7 @@
     1.4  
     1.5  
     1.6      /* Create window and renderer for given surface */
     1.7 -    window = SDL_CreateWindow("Chess Board", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN);
     1.8 +    window = SDL_CreateWindow("Chess Board", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, 0);
     1.9      if(!window)
    1.10      {
    1.11          SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Window creation fail : %s\n",SDL_GetError());