iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Mon, 28 Mar 2016 21:01:46 +0200
changeset 10131 65dffb9b1b34
parent 10130 42e35c82335d
child 10132 b1e3eae293a2
iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.
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");
     }