diff options
author | Richard Linden <none@none> | 2013-03-22 10:57:19 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-03-22 10:57:19 -0700 |
commit | f1539b727946956826c7c5fb0188b7770cfbdc24 (patch) | |
tree | 8f6371c2d631f5ad26bd3a9c852fa92edee3b090 /indra/newview/llappviewer.cpp | |
parent | 5525257b8580df3dbc9860370564e19c9d6cbbaa (diff) | |
parent | 21b7de56ad6c1efd81ad4406aba1428633b9356e (diff) |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index dc07c8f13b..6b50c62ea6 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -735,10 +735,6 @@ bool LLAppViewer::init() // before consumers (LLTextureFetch). mAppCoreHttp.init(); -#if LL_RECORD_VIEWER_STATS - LLViewerStatsRecorder::initClass(); -#endif - // *NOTE:Mani - LLCurl::initClass is not thread safe. // Called before threads are created. LLCurl::initClass(gSavedSettings.getF32("CurlRequestTimeOut"), @@ -1034,12 +1030,21 @@ bool LLAppViewer::init() } #if LL_WINDOWS - if (gGLManager.mIsIntel && - LLFeatureManager::getInstance()->getGPUClass() > 0 && - gGLManager.mGLVersion <= 3.f) + if (gGLManager.mGLVersion < LLFeatureManager::getInstance()->getExpectedGLVersion()) + { + if (gGLManager.mIsIntel) { LLNotificationsUtil::add("IntelOldDriver"); } + else if (gGLManager.mIsNVIDIA) + { + LLNotificationsUtil::add("NVIDIAOldDriver"); + } + else if (gGLManager.mIsATI) + { + LLNotificationsUtil::add("AMDOldDriver"); + } + } #endif |