Commit 62ebc527d0b4cd61c262fe61c8e9a5cf5aeba658

Philipp Wiesemann 2016-03-28T21:01:46

iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/Xcode-iOS/Demos/src/rectangles.c b/Xcode-iOS/Demos/src/rectangles.c
index 11e5f13..77e2a56 100644
--- a/Xcode-iOS/Demos/src/rectangles.c
+++ b/Xcode-iOS/Demos/src/rectangles.c
@@ -52,9 +52,7 @@ main(int argc, char *argv[])
     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");
     }