Skip to content

Commit 7c0d8f0

Browse files
committed
Fix the actual build
1 parent 2f7c189 commit 7c0d8f0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

indra/newview/pipeline.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7847,7 +7847,11 @@ void LLPipeline::renderFinalize()
78477847
gGL.setColorMask(true, true);
78487848
glClearColor(0, 0, 0, 0);
78497849

7850-
bool hdr = gGLManager.mGLVersion > 4.05f && gSavedSettings.getBOOL("RenderHDREnabled");
7850+
LLRenderTarget* src = &mPostPingMap;
7851+
LLRenderTarget* dest = &mPostPongMap;
7852+
7853+
static LLCachedControl<bool> render_hdr(gSavedSettings, "RenderHDREnabled", true);
7854+
bool hdr = gGLManager.mGLVersion > 4.05f && render_hdr;
78517855

78527856
if (hdr)
78537857
{
@@ -7857,9 +7861,6 @@ void LLPipeline::renderFinalize()
78577861

78587862
generateExposure(&mLuminanceMap, &mExposureMap);
78597863

7860-
LLRenderTarget* src = &mPostPingMap;
7861-
LLRenderTarget* dest = &mPostPongMap;
7862-
78637864
static LLCachedControl<bool> render_cas(gSavedSettings, "RenderCAS", true);
78647865
if (render_cas && gCASProgram.isComplete())
78657866
{

0 commit comments

Comments
 (0)