]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix saturation (how and why did this line disappear?)
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 7 Jul 2009 20:09:30 +0000 (20:09 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 7 Jul 2009 20:09:30 +0000 (20:09 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9048 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index b13eb463087e0fc0527f7a96968e73e68b1e9ad8..8f7c8cd4b770b9dbbb1fd64f0dfc8fbf890e5d41 100644 (file)
@@ -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);