summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
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