Skip to content

Commit

Permalink
Toggling fullscreen now takes fullscreen flags
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 11, 2013
1 parent 893afba commit 77a0d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/SDL_test_common.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 77a0d3f

Please sign in to comment.