summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBeq <beqjanus@gmail.com>2024-02-27 16:43:28 +0000
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-02-27 22:50:28 +0200
commitc8d5974f998ac223412ea3fe2f93613c86d50908 (patch)
treed60b1bbcc8afb525729ac127acddc1fee1edf41f /indra
parentd31de6afb2ac9f659efc13c438df727372fcac08 (diff)
BUG-234595/Jira-public-Issue#11494 Mac texture loading/unloading
This removes the "special case" for Mac which was resulting in values a few orders of magnitude smaller than on windows.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewertexturelist.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp
index 30e08d1fa9..cea9c91295 100644
--- a/indra/newview/llviewertexturelist.cpp
+++ b/indra/newview/llviewertexturelist.cpp
@@ -905,10 +905,6 @@ void LLViewerTextureList::updateImageDecodePriority(LLViewerFetchedTexture* imag
min_scale = llmax(min_scale*min_scale, 0.1f);
vsize /= min_scale;
-
-#if LL_DARWIN
- vsize /= 1.f + LLViewerTexture::sDesiredDiscardBias*(1.f+face->getDrawable()->mDistanceWRTCamera*bias_distance_scale);
-#else
vsize /= LLViewerTexture::sDesiredDiscardBias;
vsize /= llmax(1.f, (LLViewerTexture::sDesiredDiscardBias-1.f) * (1.f + face->getDrawable()->mDistanceWRTCamera * bias_distance_scale));
@@ -919,7 +915,6 @@ void LLViewerTextureList::updateImageDecodePriority(LLViewerFetchedTexture* imag
{ // further reduce by discard bias when off screen or occluded
vsize /= LLViewerTexture::sDesiredDiscardBias;
}
-#endif
// if a GLTF material is present, ignore that face
// as far as this texture stats go, but update the GLTF material
// stats