diff --git a/indra/llrender/llpostprocess.cpp b/indra/llrender/llpostprocess.cpp index c533701b0..0ab80bf68 100644 --- a/indra/llrender/llpostprocess.cpp +++ b/indra/llrender/llpostprocess.cpp @@ -155,12 +155,6 @@ public: /*virtual*/ QuadType preDraw() { - /// CALCULATING LUMINANCE (Using NTSC lum weights) - /// http://en.wikipedia.org/wiki/Luma_%28video%29 - static const float LUMINANCE_R = 0.299f; - static const float LUMINANCE_G = 0.587f; - static const float LUMINANCE_B = 0.114f; - getShader().uniform1f("gamma", mGamma); getShader().uniform1f("brightness", mBrightness); getShader().uniform1f("contrast", mContrast);