summaryrefslogtreecommitdiff
path: root/indra/newview/llfeaturemanager.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-06-12 08:51:45 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-06-12 08:51:45 -0400
commit77ac5e44a6b57e2b33dc3026c7a3bf2aa73d2df3 (patch)
tree7cba2dcd5d4968519bba931388c5b80adbcc3e41 /indra/newview/llfeaturemanager.cpp
parentf95dc89d5e7481f4e02953617ce7a13feb87d27a (diff)
parente92689063bdbe34907348a12f1db39bc81132783 (diff)
Merge 'release/luau-scripting' of secondlife/viewer into lua-login
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 99139e6528..9f12648470 100644
--- a/indra/newview/llfeaturemanager.cpp
+++ b/indra/newview/llfeaturemanager.cpp
@@ -664,6 +664,10 @@ void LLFeatureManager::applyBaseMasks()
{
maskFeatures("TexUnit8orLess");
}
+ if (gGLManager.mNumTextureImageUnits <= 16)
+ {
+ maskFeatures("TexUnit16orLess");
+ }
if (gGLManager.mVRAM > 512)
{
maskFeatures("VRAMGT512");