diff options
| author | Dave Houlton <euclid@lindenlab.com> | 2020-10-21 16:26:53 +0000 |
|---|---|---|
| committer | Dave Houlton <euclid@lindenlab.com> | 2020-10-21 16:26:53 +0000 |
| commit | d47114e5cb39b7e5aa5308b705cd1a77727be7f3 (patch) | |
| tree | 892b2610e95ab23316d086941f9b3113569a5ee8 /indra/newview/llviewertexture.cpp | |
| parent | 1d25203cbf91bdf390ef9e9ae7c2b5d1b00bb7bb (diff) | |
| parent | d12305496f73e0b55e8e1ec327a2567ca713da22 (diff) | |
Merged in euclid-mDebugGPU (pull request #348)
Remove obsolete mDebugGPU variable and dependent code
Approved-by: Andrey Kleshchev
Approved-by: Michael Pohoreski
Diffstat (limited to 'indra/newview/llviewertexture.cpp')
| -rw-r--r-- | indra/newview/llviewertexture.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index a2cec9a613..6a3cdafecb 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -3289,13 +3289,6 @@ void LLViewerLODTexture::processTextureStats() { mDesiredDiscardLevel = llmin(mDesiredDiscardLevel, (S8)mDesiredSavedRawDiscardLevel); } - else if(LLPipeline::sMemAllocationThrottled)//release memory of large textures by decrease their resolutions. - { - if(scaleDown()) - { - mDesiredDiscardLevel = mCachedRawDiscardLevel; - } - } } bool LLViewerLODTexture::scaleDown() |
