svn merge ^/trunk/blender -r43294:43338
[blender.git] / source / blender / windowmanager / intern / wm_init_exit.c
index a81bfaacae7be46a2bfb957b68239e2babdf850a..97fb2022150ed93f6e4ffa9a04ab4d9d1d6fae30 100644 (file)
@@ -265,7 +265,7 @@ int WM_init_game(bContext *C)
                }
 
                /* Fullscreen */
-               if(scene->gm.fullscreen) {
+               if((scene->gm.playerflag & GAME_PLAYER_FULLSCREEN)) {
                        WM_operator_name_call(C, "WM_OT_window_fullscreen_toggle", WM_OP_EXEC_DEFAULT, NULL);
                        wm_get_screensize(&ar->winrct.xmax, &ar->winrct.ymax);
                        ar->winx = ar->winrct.xmax + 1;