summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRye Cogtail <rye@lindenlab.com>2024-09-03 17:55:17 -0400
committerRye Cogtail <rye@lindenlab.com>2024-09-03 18:20:36 -0400
commitdfae0d9d782d172d892d1823584178d7a26b0624 (patch)
tree6fd49d528182088250294452da6cfde79fe1854d
parentceed015e4e23e421197b47f9e6f16c9835ec080a (diff)
Fix visualizing luminance buffer and small cleanup
-rw-r--r--indra/newview/pipeline.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 3b1da8668b..7b8739c7df 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -7871,7 +7871,6 @@ void LLPipeline::renderFinalize()
renderDoF(&mPostMap, &mRT->screen);
LLRenderTarget* finalBuffer = &mRT->screen;
- static LLCachedControl<U32> aa_type(gSavedSettings, "RenderFSAAType", 2U);
if (RenderFSAAType == 1)
{
applyFXAA(&mRT->screen, &mPostMap);
@@ -7880,7 +7879,6 @@ void LLPipeline::renderFinalize()
if (RenderBufferVisualization > -1)
{
- finalBuffer = &mPostMap;
switch (RenderBufferVisualization)
{
case 0:
@@ -7891,6 +7889,7 @@ void LLPipeline::renderFinalize()
break;
case 4:
visualizeBuffers(&mLuminanceMap, finalBuffer, 0);
+ break;
case 5:
{
if (RenderFSAAType > 0)