aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfeaturemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfeaturemanager.cpp')
-rw-r--r--linden/indra/newview/llfeaturemanager.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/newview/llfeaturemanager.cpp b/linden/indra/newview/llfeaturemanager.cpp
index 2a30680..8bcbc1e 100644
--- a/linden/indra/newview/llfeaturemanager.cpp
+++ b/linden/indra/newview/llfeaturemanager.cpp
@@ -62,6 +62,8 @@ extern void write_debug(const std::string& str);
62const char FEATURE_TABLE_FILENAME[] = "featuretable_mac.txt"; 62const char FEATURE_TABLE_FILENAME[] = "featuretable_mac.txt";
63#elif LL_LINUX 63#elif LL_LINUX
64const char FEATURE_TABLE_FILENAME[] = "featuretable_linux.txt"; 64const char FEATURE_TABLE_FILENAME[] = "featuretable_linux.txt";
65#elif LL_SOLARIS
66const char FEATURE_TABLE_FILENAME[] = "featuretable_solaris.txt";
65#else 67#else
66const char FEATURE_TABLE_FILENAME[] = "featuretable.txt"; 68const char FEATURE_TABLE_FILENAME[] = "featuretable.txt";
67#endif 69#endif
@@ -405,7 +407,12 @@ void LLFeatureManager::initCPUFeatureMasks()
405 maskFeatures("RAM256MB"); 407 maskFeatures("RAM256MB");
406 } 408 }
407 409
410#if LL_SOLARIS && defined(__sparc) // even low MHz SPARCs are fast
411#error The 800 is hinky. Would something like a LL_MIN_MHZ make more sense here?
412 if (gSysCPU.getMhz() < 800)
413#else
408 if (gSysCPU.getMhz() < 1100) 414 if (gSysCPU.getMhz() < 1100)
415#endif
409 { 416 {
410 maskFeatures("CPUSlow"); 417 maskFeatures("CPUSlow");
411 } 418 }