Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Hot damn, SDL_WM_ToggleFullScreen() works on all platforms now. :)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 16, 2011
1 parent ea3372b commit ac69080
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/testalpha.c
Expand Up @@ -514,6 +514,9 @@ main(int argc, char *argv[])
if (event.key.keysym.sym == SDLK_ESCAPE) {
done = 1;
}
if (event.key.keysym.sym == SDLK_RETURN) {
SDL_WM_ToggleFullScreen(screen);
}
break;
case SDL_QUIT:
done = 1;
Expand Down

0 comments on commit ac69080

Please sign in to comment.