[Commits] SDL: Removed not needed SDL_WINDOW_SHOWN from chessboard test pr...

libsdl.org revision control commits-owner at libsdl.org
Mon Mar 28 12:10:48 PDT 2016


details:   https://hg.libsdl.org/SDL/rev/b1e3eae293a2
changeset: 10129:b1e3eae293a2
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Mon Mar 28 21:02:30 2016 +0200
description:
Removed not needed SDL_WINDOW_SHOWN from chessboard test program.

diffstat:

 test/testdrawchessboard.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 65dffb9b1b34 -r b1e3eae293a2 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());


More information about the commits mailing list