diff --git a/indra/llimage/llpngwrapper.cpp b/indra/llimage/llpngwrapper.cpp
index 1e51e7375e77e4e2b7c1083f8f0c44bd1da937e8..3becd96824eaccaa388fa9a2a51ee564f31dde98 100644
--- a/indra/llimage/llpngwrapper.cpp
+++ b/indra/llimage/llpngwrapper.cpp
@@ -257,11 +257,7 @@ void LLPngWrapper::normalizeImage()
 		png_set_strip_16(mReadPngPtr);
 	}
 
-#if LL_DARWIN
-	const F64 SCREEN_GAMMA = 1.8;
-#else
 	const F64 SCREEN_GAMMA = 2.2;
-#endif
 
 	if (png_get_gAMA(mReadPngPtr, mReadInfoPtr, &mGamma))
 	{