diff options
author | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:54 -0500 |
commit | b2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch) | |
tree | 3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/newview/llfeaturemanager.cpp | |
parent | Second Life viewer sources 1.14.0.1 (diff) | |
download | meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.zip meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.gz meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.bz2 meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.xz |
Second Life viewer sources 1.15.0.2
Diffstat (limited to 'linden/indra/newview/llfeaturemanager.cpp')
-rw-r--r-- | linden/indra/newview/llfeaturemanager.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/linden/indra/newview/llfeaturemanager.cpp b/linden/indra/newview/llfeaturemanager.cpp index c0fd96b..57fbc64 100644 --- a/linden/indra/newview/llfeaturemanager.cpp +++ b/linden/indra/newview/llfeaturemanager.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2003-2007, Linden Research, Inc. | 5 | * Copyright (c) 2003-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -192,7 +193,7 @@ BOOL LLFeatureManager::maskFeatures(const char *name) | |||
192 | LLFeatureList *maskp = findMask(name); | 193 | LLFeatureList *maskp = findMask(name); |
193 | if (!maskp) | 194 | if (!maskp) |
194 | { | 195 | { |
195 | llwarns << "Unknown feature mask " << name << llendl; | 196 | // llwarns << "Unknown feature mask " << name << llendl; |
196 | return FALSE; | 197 | return FALSE; |
197 | } | 198 | } |
198 | llinfos << "Applying Feature Mask: " << name << llendl; | 199 | llinfos << "Applying Feature Mask: " << name << llendl; |
@@ -450,14 +451,6 @@ void LLFeatureManager::initGraphicsFeatureMasks() | |||
450 | { | 451 | { |
451 | maskFeatures("ATI"); | 452 | maskFeatures("ATI"); |
452 | } | 453 | } |
453 | if (gGLManager.mIsRadeon8500) | ||
454 | { | ||
455 | maskFeatures("Radeon8500"); | ||
456 | } | ||
457 | if (gGLManager.mIsRadeon9700) | ||
458 | { | ||
459 | maskFeatures("Radeon9700"); | ||
460 | } | ||
461 | if (gGLManager.mIsGFFX) | 454 | if (gGLManager.mIsGFFX) |
462 | { | 455 | { |
463 | maskFeatures("GeForceFX"); | 456 | maskFeatures("GeForceFX"); |
@@ -470,11 +463,18 @@ void LLFeatureManager::initGraphicsFeatureMasks() | |||
470 | { | 463 | { |
471 | maskFeatures("OpenGLPre15"); | 464 | maskFeatures("OpenGLPre15"); |
472 | } | 465 | } |
473 | 466 | // Replaces ' ' with '_' in mGPUString to deal with inability for parser to handle spaces | |
474 | if (gGLManager.mIsMobilityRadeon9000) | 467 | std::string gpustr = mGPUString; |
468 | for (std::string::iterator iter = gpustr.begin(); iter != gpustr.end(); ++iter) | ||
475 | { | 469 | { |
476 | maskFeatures("MobilityRadeon9000"); | 470 | if (*iter == ' ') |
471 | { | ||
472 | *iter = '_'; | ||
473 | } | ||
477 | } | 474 | } |
475 | // llinfos << "Masking features from gpu table match: " << gpustr << llendl; | ||
476 | maskFeatures(gpustr.c_str()); | ||
477 | |||
478 | if (isSafe()) | 478 | if (isSafe()) |
479 | { | 479 | { |
480 | maskFeatures("safe"); | 480 | maskFeatures("safe"); |