Commit 1738e5f4 authored by Sam Lantinga's avatar Sam Lantinga

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

parent d119c382
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment