]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix missing loc_Texture_GammaRamps lookup
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Jan 2008 19:28:53 +0000 (19:28 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Jan 2008 19:28:53 +0000 (19:28 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8050 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 44486d94e212f5815bd6b1c564c936a1e3df410c..26999b986d39a665c6e35f6fe3ab6d7f1bc4c9ad 100644 (file)
@@ -1317,6 +1317,7 @@ static void R_GLSL_CompilePermutation(shadermode_t mode, shaderpermutation_t per
                // have to look them up every time we set them
                p->loc_Texture_First              = qglGetUniformLocationARB(p->program, "Texture_First");
                p->loc_Texture_Second             = qglGetUniformLocationARB(p->program, "Texture_Second");
+               p->loc_Texture_GammaRamps         = qglGetUniformLocationARB(p->program, "Texture_GammaRamps");
                p->loc_Texture_Normal             = qglGetUniformLocationARB(p->program, "Texture_Normal");
                p->loc_Texture_Color              = qglGetUniformLocationARB(p->program, "Texture_Color");
                p->loc_Texture_Gloss              = qglGetUniformLocationARB(p->program, "Texture_Gloss");