From: havoc Date: Tue, 29 Jan 2008 19:28:53 +0000 (+0000) Subject: fix missing loc_Texture_GammaRamps lookup X-Git-Tag: xonotic-v0.1.0preview~2464 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2fa9916b8d05e4a87e69638826363b58faf4a24d;p=xonotic%2Fdarkplaces.git fix missing loc_Texture_GammaRamps lookup git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8050 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 44486d94..26999b98 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -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");