summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormobserveur <mobserveur@gmail.co[alias]>2025-04-08 16:03:22 +0200
committermobserveur <mobserveur@gmail.co[alias]>2025-04-08 16:03:22 +0200
commita6c1b69264a933a2e9817eaef2cbf0c9483f1bae (patch)
treedeb3e3c33e726746efd17b711db3600d8dc4c67f /indra
parenta502f7d78ec7e3b6f9322a16311db54c22dcd38c (diff)
AA Slowing down the viewer on Mac FIX
AA was causing the viewer to slow down when used with hdr & emissive option ON. This commit fixes the issue, by making sure mipmap generation is inactive on the Luminance framebuffer.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index b9fe9cd343..076459a7b2 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -1502,7 +1502,7 @@ void LLPipeline::createLUTBuffers()
glClearColor(0, 0, 0, 0);
mExposureMap.flush();
- mLuminanceMap.allocate(256, 256, GL_R16F, false, LLTexUnit::TT_TEXTURE, LLTexUnit::TMG_AUTO);
+ mLuminanceMap.allocate(256, 256, GL_R16F, false, LLTexUnit::TT_TEXTURE);
mLastExposure.allocate(1, 1, GL_R16F);
}