[Commits] SDL: iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.

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


details:   https://hg.libsdl.org/SDL/rev/65dffb9b1b34
changeset: 10128:65dffb9b1b34
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Mon Mar 28 21:01:46 2016 +0200
description:
iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.

diffstat:

 Xcode-iOS/Demos/src/rectangles.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (14 lines):

diff -r 42e35c82335d -r 65dffb9b1b34 Xcode-iOS/Demos/src/rectangles.c
--- a/Xcode-iOS/Demos/src/rectangles.c	Mon Mar 28 21:01:26 2016 +0200
+++ b/Xcode-iOS/Demos/src/rectangles.c	Mon Mar 28 21:01:46 2016 +0200
@@ -52,9 +52,7 @@
     srand(time(NULL));
 
     /* create window and renderer */
-    window =
-        SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
-                         SDL_WINDOW_SHOWN);
+    window = SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 0);
     if (window == 0) {
         fatalError("Could not initialize Window");
     }


More information about the commits mailing list