Testing fullscreen window in the accelerometer test.
--HG-- extra : rebase_source : 891b1c0b53e6a9d509c9ba86f4fc5943fafe0ec1
This commit is contained in:
parent
55dd456631
commit
dec06dbca4
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ main(int argc, char *argv[])
|
||||||
/* create main window and renderer */
|
/* create main window and renderer */
|
||||||
window = SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
|
window = SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
|
||||||
SDL_WINDOW_OPENGL |
|
SDL_WINDOW_OPENGL |
|
||||||
SDL_WINDOW_BORDERLESS);
|
SDL_WINDOW_FULLSCREEN);
|
||||||
renderer = SDL_CreateRenderer(window, 0, 0);
|
renderer = SDL_CreateRenderer(window, 0, 0);
|
||||||
|
|
||||||
SDL_GetWindowSize(window, &w, &h);
|
SDL_GetWindowSize(window, &w, &h);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue