summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.cpp
diff options
context:
space:
mode:
authormobserveur <mobserveur@gmail.com>2025-09-21 14:54:19 +0200
committermobserveur <mobserveur@gmail.com>2025-09-21 14:54:19 +0200
commitc0876dbee4009ab77c59412c3a2bcf69c154e5d2 (patch)
tree38660514a6253ac41ed491faf88e0e494773be74 /indra/newview/llviewertexture.cpp
parent07061a76d54b25c9197c73fc9b8ac4baba4def67 (diff)
Adding lower max texture resolution choices in the preferences
This commit adds 128 and 256 pixels texture resolution limit in the preferences. This aims to help lower end hardware in texture heavy sims.
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
-rw-r--r--indra/newview/llviewertexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp
index 7a25fb03a5..c50cd5083f 100644
--- a/indra/newview/llviewertexture.cpp
+++ b/indra/newview/llviewertexture.cpp
@@ -3001,7 +3001,7 @@ void LLViewerLODTexture::processTextureStats()
// restrict texture resolution to download based on RenderMaxTextureResolution
static LLCachedControl<U32> max_texture_resolution(gSavedSettings, "RenderMaxTextureResolution", 2048);
// sanity clamp debug setting to avoid settings hack shenanigans
- max_tex_res = (F32)llclamp((S32)max_texture_resolution, 512, MAX_IMAGE_SIZE_DEFAULT);
+ max_tex_res = (F32)llclamp((S32)max_texture_resolution, 128, MAX_IMAGE_SIZE_DEFAULT);
mMaxVirtualSize = llmin(mMaxVirtualSize, max_tex_res * max_tex_res);
}