summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-09-09 07:27:14 +0800
committerErik Kundiman <erik@megapahit.org>2025-09-09 12:28:41 +0800
commit12743eca6958b897d7eb3f0cf791ad8ada3fc790 (patch)
treeb785e705d8dac3cf3b2de36b04b6d0ab1f604d56 /indra/newview/llviewerdisplay.cpp
parent4568096b3078d2d8980646f5b0b2f93762eb1caa (diff)
parentccf0114f36968d6cf6dfb11e1c5a035406314924 (diff)
Merge remote-tracking branch 'mobserveur/experimental2'
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r--indra/newview/llviewerdisplay.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index ac0147002e..5183370076 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -1687,6 +1687,10 @@ void render_ui_3d()
gUIProgram.bind();
gGL.color4f(1.f, 1.f, 1.f, 1.f);
+ static LLCachedControl<bool> hdrDisplay(gSavedSettings, "MPHDRDisplay");
+ static LLCachedControl<F32> hdrUIBoost(gSavedSettings, "MPHDRUIBoost");
+ if(hdrDisplay) gUIProgram.uniform1f(LLShaderMgr::MP_HDR_BOOST, (GLfloat)hdrUIBoost);
+
// Coordinate axes
static LLCachedControl<bool> show_axes(gSavedSettings, "ShowAxes");
if (show_axes())