mirror of https://github.com/encounter/SDL.git
Testing fullscreen window in the accelerometer test.
This commit is contained in:
parent
09b3b7e78b
commit
fa73a3c8f6
|
@ -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…
Reference in New Issue