From: havoc Date: Sun, 12 Feb 2006 18:22:42 +0000 (+0000) Subject: fix uninitialized specularscale in R_Shadow_RenderSurfacesLighting X-Git-Tag: xonotic-v0.1.0preview~4337 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d2b582b937672d9749e0b0d268da59a0a5299c4c;p=xonotic%2Fdarkplaces.git fix uninitialized specularscale in R_Shadow_RenderSurfacesLighting git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5974 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_shadow.c b/r_shadow.c index f759f7e9..fdb3f477 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -2575,6 +2575,7 @@ void R_Shadow_RenderSurfacesLighting(const entity_render_t *ent, const texture_t float specularscale; qboolean dopants, doshirt; glosstexture = r_texture_black; + specularscale = 0; if (r_shadow_gloss.integer > 0) { if (texture->skin.gloss)