Toggling fullscreen now takes fullscreen flags
This commit is contained in:
parent
c0d049dd87
commit
332f80d9f3
1 changed files with 1 additions and 1 deletions
|
@ -1338,7 +1338,7 @@ SDLTest_CommonEvent(SDLTest_CommonState * state, SDL_Event * event, int *done)
|
|||
if (flags & SDL_WINDOW_FULLSCREEN) {
|
||||
SDL_SetWindowFullscreen(window, SDL_FALSE);
|
||||
} else {
|
||||
SDL_SetWindowFullscreen(window, SDL_TRUE);
|
||||
SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN);
|
||||
}
|
||||
}
|
||||
} else if (event->key.keysym.mod & KMOD_ALT) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue