Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Hot damn, SDL_WM_ToggleFullScreen() works on all platforms now. :)

  • Loading branch information
slouken committed Feb 16, 2011
1 parent ea3372b commit ac69080dd8c51a6604513be0ef47f5179ae4cc51
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/testalpha.c
@@ -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;

0 comments on commit ac69080

Please sign in to comment.