test/testalpha.c
changeset 5307 89a8263374ac
parent 3585 f8816ffa210b
child 5535 96594ac5fd1a
--- a/test/testalpha.c	Wed Feb 16 00:11:48 2011 -0800
+++ b/test/testalpha.c	Wed Feb 16 00:45:10 2011 -0800
@@ -514,6 +514,9 @@
                 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;