From d71f883d3e9f37bcf8e1b116f9b97ff5ef94fb31 Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Sun, 19 Aug 2012 20:45:43 +0000 Subject: [PATCH] Adds warning when OS X users try to toggle fullscreen since it's disabled This was SVN commit r12482. --- source/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/main.cpp b/source/main.cpp index 1b091d9ce3..8719f50a14 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -42,6 +42,7 @@ that of Atlas depending on commandline parameters. #include "ps/ArchiveBuilder.h" #include "ps/CConsole.h" +#include "ps/CLogger.h" #include "ps/Filesystem.h" #include "ps/Game.h" #include "ps/Globals.h" @@ -155,6 +156,8 @@ static InReaction MainInputHandler(const SDL_Event_* ev) #if !OS_MACOSX // TODO: Fix fullscreen toggling on OS X, see http://trac.wildfiregames.com/ticket/741 g_VideoMode.ToggleFullscreen(); +#else + LOGWARNING(L"Toggling fullscreen and resizing are disabled on OS X due to a known bug. Please use the config file to change display settings."); #endif return IN_HANDLED; }