Răsfoiți Sursa

iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.

Philipp Wiesemann 9 ani în urmă
părinte
comite
62ebc527d0
1 a modificat fișierele cu 1 adăugiri și 3 ștergeri
  1. 1 3
      Xcode-iOS/Demos/src/rectangles.c

+ 1 - 3
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");
     }