summaryrefslogtreecommitdiff
path: root/indra/newview/llfeaturemanager.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2024-12-03 14:32:20 -0800
committerGitHub <noreply@github.com>2024-12-03 16:32:20 -0600
commit73420f4f34976eedb4d01855a71513a4c1bd95bb (patch)
tree9838d3f6b6c2136d9e4a6a5c4ea28114b4038b64 /indra/newview/llfeaturemanager.cpp
parent9cc343b5ebaab50b273205f36b6604e64191caee (diff)
#3184 Fix for crash on some GPUs when setting quality to High or higher (#3201)
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
-rw-r--r--indra/newview/llfeaturemanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp
index 22ba20100e..2adc6e4a29 100644
--- a/indra/newview/llfeaturemanager.cpp
+++ b/indra/newview/llfeaturemanager.cpp
@@ -721,6 +721,10 @@ void LLFeatureManager::applyBaseMasks()
// Make extra sure that vintage mode also gets enabled.
gSavedSettings.setBOOL("RenderVintageMode", true);
}
+ if (gGLManager.mMaxVaryingVectors <= 16)
+ {
+ maskFeatures("VaryingVectors16orLess");
+ }
// now mask by gpu string
// Replaces ' ' with '_' in mGPUString to deal with inability for parser to handle spaces