Skip to content

Commit

Permalink
iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Mar 28, 2016
1 parent bd60850 commit 62ebc52
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Xcode-iOS/Demos/src/rectangles.c
Expand Up @@ -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");
}
Expand Down

0 comments on commit 62ebc52

Please sign in to comment.