]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.c
now clears view to fog color if fog is enabled, this should cure fogging of sky in...
[xonotic/darkplaces.git] / r_shadow.c
index ad8d9b29c9199dbd7727f36011a0301096797819..f74c32e98b81857ef78ba7a2c8d7139168bd6797 100644 (file)
@@ -1553,6 +1553,8 @@ void R_Shadow_RenderLighting(int firstvertex, int numvertices, int numtriangles,
        int renders;
        float color[3], color2[3], colorscale;
        rmeshstate_t m;
+       if (!basetexture)
+               basetexture = r_texture_white;
        if (!bumptexture)
                bumptexture = r_texture_blanknormalmap;
        if (!lightcolorbase)