Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed not needed SDL_WINDOW_SHOWN from iOS example programs.
Browse files Browse the repository at this point in the history
See bug #1667.
  • Loading branch information
philippwiesemann committed Jul 21, 2013
1 parent e51fc48 commit 0dbf97c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Xcode-iOS/Demos/src/accelerometer.c
Expand Up @@ -172,7 +172,7 @@ main(int argc, char *argv[])

/* create main window and renderer */
window = SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN |
SDL_WINDOW_OPENGL |
SDL_WINDOW_BORDERLESS);
renderer = SDL_CreateRenderer(window, 0, 0);

Expand Down
2 changes: 1 addition & 1 deletion Xcode-iOS/Demos/src/fireworks.c
Expand Up @@ -389,7 +389,7 @@ main(int argc, char *argv[])

/* create main window and renderer */
window = SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN |
SDL_WINDOW_OPENGL |
SDL_WINDOW_BORDERLESS);
context = SDL_GL_CreateContext(window);

Expand Down
2 changes: 1 addition & 1 deletion Xcode-iOS/Demos/src/happy.c
Expand Up @@ -136,7 +136,7 @@ main(int argc, char *argv[])
fatalError("Could not initialize SDL");
}
window = SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN |
SDL_WINDOW_OPENGL |
SDL_WINDOW_BORDERLESS);

renderer = SDL_CreateRenderer(window, -1, 0);
Expand Down
2 changes: 1 addition & 1 deletion Xcode-iOS/Demos/src/rectangles.c
Expand Up @@ -68,7 +68,7 @@ main(int argc, char *argv[])
_sdl_window = SDL_CreateWindow("fred",
0, 0,
sx, sy,
SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN | SDL_WINDOW_BORDERLESS);
SDL_WINDOW_OPENGL | SDL_WINDOW_BORDERLESS);

SDL_SetHint("SDL_HINT_ORIENTATIONS", "LandscapeLeft LandscapeRight");

Expand Down
2 changes: 1 addition & 1 deletion Xcode-iOS/Demos/src/touch.c
Expand Up @@ -88,7 +88,7 @@ main(int argc, char *argv[])

/* create main window and renderer */
window = SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN |
SDL_WINDOW_OPENGL |
SDL_WINDOW_BORDERLESS);
renderer = SDL_CreateRenderer(window, 0, 0);

Expand Down
2 changes: 1 addition & 1 deletion Xcode-iOS/Template/SDL iOS Application/main.c
Expand Up @@ -67,7 +67,7 @@ main(int argc, char *argv[])
/* create window and renderer */
window =
SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN);
SDL_WINDOW_OPENGL);
if (!window) {
printf("Could not initialize Window\n");
return 1;
Expand Down

0 comments on commit 0dbf97c

Please sign in to comment.