summaryrefslogtreecommitdiff
path: root/indra/newview/llfeaturemanager.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2026-07-22 00:40:35 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2026-07-22 00:40:35 -0400
commit55e94847b4270d7f71016fe651800ef9e43b4bc5 (patch)
treef06e62aed146c666cfa933b40ea7fe4fc8357f05 /indra/newview/llfeaturemanager.cpp
parent6b9f0f0bf43250f984631032a3f3b41d245907a9 (diff)
Revert "Merge pull request #5829 from secondlife/geenz/texture-quality"
This reverts commit 6b4e3f3288ec1e9917cecd862a7a52945e5b4db2, reversing changes made to 99ab6316b4ae9058f22d9f57d21e795ca45797fd.
Diffstat (limited to 'indra/newview/llfeaturemanager.cpp')
-rw-r--r--indra/newview/llfeaturemanager.cpp24
1 files changed, 2 insertions, 22 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp
index aab2865ef7..c8692224f1 100644
--- a/indra/newview/llfeaturemanager.cpp
+++ b/indra/newview/llfeaturemanager.cpp
@@ -752,29 +752,9 @@ void LLFeatureManager::applyBaseMasks()
{
maskFeatures("VRAMGT512");
}
-
- // Texture quality is driven by detected VRAM. Feature masks take the MIN
- // of applied values, so cascading lower tiers downgrade RenderTextureQuality:
- // <= 2GB -> Low(0), <= 4GB -> Medium(1), < 8GB -> High(2), >= 8GB -> Ultra(3).
- // When VRAM cannot be detected (mVRAM == 0, common on Linux) fall back to Medium.
- if (gGLManager.mVRAM == 0)
+ if (gGLManager.mVRAM < 2048)
{
- maskFeatures("VRAMLT4GB");
- }
- else
- {
- if (gGLManager.mVRAM < 8192)
- {
- maskFeatures("VRAMLT8GB");
- }
- if (gGLManager.mVRAM <= 4096)
- {
- maskFeatures("VRAMLT4GB");
- }
- if (gGLManager.mVRAM <= 2048)
- {
- maskFeatures("VRAMLT2GB");
- }
+ maskFeatures("VRAMLT2GB");
}
if (gGLManager.mGLVersion < 3.99f)
{