diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-09-17 15:56:07 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-09-17 15:56:07 +0300 |
commit | f2d35e8e568278f9269da11a5d589fc39f59f296 (patch) | |
tree | 62233335900387bb19b8f50c87417b4daa98fccc /indra/newview/pipeline.cpp | |
parent | d1fdb6995b526957acde8a08e0827195d77ae136 (diff) |
SL-11779 Resolved perfomance drop with negative RenderShadowResolutionScale
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 65438ef05d..eb2d3bf873 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -973,7 +973,7 @@ bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples) mDeferredLight.release(); } - F32 scale = RenderShadowResolutionScale; + F32 scale = llmax(0.f, RenderShadowResolutionScale); if (shadow_detail > 0) { //allocate 4 sun shadow maps |