summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-06-09 12:40:43 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-06-09 12:40:43 -0700
commit75c4b50f88ead9f9a40e4154a9cf75621b6a1002 (patch)
tree1c8862640b0299dbde7acd9001297ff970797cad /indra/newview
parente38514f9fdb79efa77a1cf41cb4288e4cfbce932 (diff)
NORSPEC-246 WIP fix callsite missed when swapping in macro impl
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llviewershadermgr.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp
index a27621ecdc..b9e0847935 100755
--- a/indra/newview/llviewershadermgr.cpp
+++ b/indra/newview/llviewershadermgr.cpp
@@ -1596,14 +1596,7 @@ BOOL LLViewerShaderMgr::loadShadersDeferred()
gDeferredSoftenProgram.mShaderLevel = mVertexShaderLevel[SHADER_DEFERRED];
-#if LL_DARWIN
- // include spec exp clamp to fix older mac rendering artifacts
- //
- if (gGLManager.mIsMobileGF)
- {
- gDeferredSoftenProgram[i].addPermutation("NO_SRGB","1");
- }
-#endif
+ SINGLE_FP_PERMUTATION(gDeferredSoftenProgram);
if (gSavedSettings.getBOOL("RenderDeferredSSAO"))
{ //if using SSAO, take screen space light map into account as if shadows are enabled