diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/newview/llfeaturemanager.cpp | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/newview/llfeaturemanager.cpp')
-rw-r--r-- | linden/indra/newview/llfeaturemanager.cpp | 7 |
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); | |||
62 | const char FEATURE_TABLE_FILENAME[] = "featuretable_mac.txt"; | 62 | const char FEATURE_TABLE_FILENAME[] = "featuretable_mac.txt"; |
63 | #elif LL_LINUX | 63 | #elif LL_LINUX |
64 | const char FEATURE_TABLE_FILENAME[] = "featuretable_linux.txt"; | 64 | const char FEATURE_TABLE_FILENAME[] = "featuretable_linux.txt"; |
65 | #elif LL_SOLARIS | ||
66 | const char FEATURE_TABLE_FILENAME[] = "featuretable_solaris.txt"; | ||
65 | #else | 67 | #else |
66 | const char FEATURE_TABLE_FILENAME[] = "featuretable.txt"; | 68 | const 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 | } |