소스 검색

iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.

Philipp Wiesemann 9 년 전
부모
커밋
62ebc527d0
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  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");
     }