From: divverent Date: Tue, 7 Jul 2009 20:09:30 +0000 (+0000) Subject: fix saturation (how and why did this line disappear?) X-Git-Tag: xonotic-v0.1.0preview~1579 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a12e0a5e8215b5d3e44504ac79917e0df6b28c2b;p=xonotic%2Fdarkplaces.git 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 --- 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);