From 66083d653182b0b79f7a35cb6faa80c70432833d Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Fri, 28 Dec 2012 21:07:19 +0100 Subject: [PATCH] Removing leftover dead code --- indra/llrender/llpostprocess.cpp | 6 ------ 1 file changed, 6 deletions(-) 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);