Added orientation rotation for iOS.
This commit is contained in:
parent
15b112e3a6
commit
ab0fcbfbd2
7 changed files with 114 additions and 19 deletions
|
@ -140,7 +140,7 @@ main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
/* Set OpenGL parameters */
|
||||
state->window_flags |= SDL_WINDOW_OPENGL;
|
||||
state->window_flags |= SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_BORDERLESS;
|
||||
state->gl_red_size = 5;
|
||||
state->gl_green_size = 5;
|
||||
state->gl_blue_size = 5;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue