From a12e0a5e8215b5d3e44504ac79917e0df6b28c2b Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 7 Jul 2009 20:09:30 +0000 Subject: [PATCH] fix saturation (how and why did this line disappear?) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9048 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gl_rmain.c b/gl_rmain.c index b13eb463..8f7c8cd4 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -1421,6 +1421,7 @@ static void R_GLSL_CompilePermutation(unsigned int mode, unsigned int permutatio p->loc_UserVec4 = qglGetUniformLocationARB(p->program, "UserVec4"); p->loc_ClientTime = qglGetUniformLocationARB(p->program, "ClientTime"); p->loc_PixelSize = qglGetUniformLocationARB(p->program, "PixelSize"); + p->loc_Saturation = qglGetUniformLocationARB(p->program, "Saturation"); // initialize the samplers to refer to the texture units we use if (p->loc_Texture_First >= 0) qglUniform1iARB(p->loc_Texture_First , GL20TU_FIRST); if (p->loc_Texture_Second >= 0) qglUniform1iARB(p->loc_Texture_Second , GL20TU_SECOND); -- 2.39.2