]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix uninitialized specularscale in R_Shadow_RenderSurfacesLighting
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Feb 2006 18:22:42 +0000 (18:22 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Feb 2006 18:22:42 +0000 (18:22 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5974 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index f759f7e9a5dc9cde795db667cc5617d5d2a8fcc6..fdb3f4779828ca76f3216f8412fec8b2266ffee5 100644 (file)
@@ -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)