Toggling fullscreen now takes fullscreen flags
authorSam Lantinga <slouken@libsdl.org>
Mon, 11 Nov 2013 01:59:20 -0800
changeset 7949 7eac62311176
parent 7948 64e133a8b15e
child 7950 85dc78d922db
Toggling fullscreen now takes fullscreen flags
src/test/SDL_test_common.c
--- a/src/test/SDL_test_common.c	Sun Nov 10 19:19:44 2013 -0800
+++ b/src/test/SDL_test_common.c	Mon Nov 11 01:59:20 2013 -0800
@@ -1338,7 +1338,7 @@
                     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) {