mirror of https://github.com/encounter/SDL.git
iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.
This commit is contained in:
parent
bd60850b82
commit
62ebc527d0
|
@ -52,9 +52,7 @@ main(int argc, char *argv[])
|
||||||
srand(time(NULL));
|
srand(time(NULL));
|
||||||
|
|
||||||
/* create window and renderer */
|
/* create window and renderer */
|
||||||
window =
|
window = SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 0);
|
||||||
SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
|
|
||||||
SDL_WINDOW_SHOWN);
|
|
||||||
if (window == 0) {
|
if (window == 0) {
|
||||||
fatalError("Could not initialize Window");
|
fatalError("Could not initialize Window");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue