mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-28 23:49:12 +00:00
Folded SDL_WINDOW_FULLSCREEN_EXCLUSIVE and SDL_WINDOW_FULLSCREEN_DESKTOP into a single SDL_WINDOW_FULLSCREEN flag
The fullscreen video mode used by the window can be used to determine whether it's in exclusive fullscreen or fullscreen desktop mode.
This commit is contained in:
parent
14338ab459
commit
ac75fe9324
36 changed files with 184 additions and 250 deletions
|
@ -95,7 +95,7 @@ int main(int argc, char **argv)
|
|||
SDL_bool done = SDL_FALSE;
|
||||
SDL_Event event;
|
||||
|
||||
SDL_CreateWindow("Sensor Test", 0, 0, 0, 0, SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||
SDL_CreateWindow("Sensor Test", 0, 0, 0, 0, SDL_WINDOW_FULLSCREEN);
|
||||
while (!done) {
|
||||
/* Update to get the current event state */
|
||||
SDL_PumpEvents();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue