diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 1e5d4b7d6da3a5710cf5fdd90c8c08a1798814d5..a2b507696b0ede3fc6a1259011382c66f871c559 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2945,19 +2945,6 @@ void LLAppViewer::initStrings() } } -// -// This function decides whether the client machine meets the minimum requirements to -// run in a maximized window, per the consensus of davep, boa and nyx on 3/30/2011. -// -bool LLAppViewer::meetsRequirementsForMaximizedStart() -{ - bool maximizedOk = (LLFeatureManager::getInstance()->getGPUClass() >= GPU_CLASS_2); - - maximizedOk &= (gSysMemory.getPhysicalMemoryKB() >= U32Gigabytes(1)); - - return maximizedOk; -} - bool LLAppViewer::initWindow() { LL_INFOS("AppInit") << "Initializing window..." << LL_ENDL; @@ -3046,21 +3033,6 @@ bool LLAppViewer::initWindow() LLAppViewer::instance()->forceErrorLLError(); } - // - // Determine if the window should start maximized on initial run based - // on graphics capability - // - if (gSavedSettings.getBOOL("FirstLoginThisInstall") && meetsRequirementsForMaximizedStart()) - { - LL_INFOS("AppInit") << "This client met the requirements for a maximized initial screen." << LL_ENDL; - gSavedSettings.setBOOL("WindowMaximized", TRUE); - } - - if (gSavedSettings.getBOOL("WindowMaximized")) - { - gViewerWindow->getWindow()->maximize(); - } - LLUI::sWindow = gViewerWindow->getWindow(); // Show watch cursor diff --git a/indra/newview/llappviewer.h b/indra/newview/llappviewer.h index 87894bc42ef6f6f64b874150afb200951b9f6104..851df09941e77ccf361356a3f52b2f8fd352d591 100644 --- a/indra/newview/llappviewer.h +++ b/indra/newview/llappviewer.h @@ -228,8 +228,6 @@ class LLAppViewer : public LLApp virtual std::string generateSerialNumber() = 0; // Platforms specific classes generate this. - virtual bool meetsRequirementsForMaximizedStart(); // Used on first login to decide to launch maximized - private: bool doFrame();