]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.c
gl_rmain: Fix skybox fog disappearing with certain explosion effects
[xonotic/darkplaces.git] / r_shadow.c
index 192f9064731cf2d00d04ed0e59739179f0c490bd..884e07a7383915edb8ae689b6b93df58cb534e9f 100644 (file)
@@ -2954,7 +2954,7 @@ static void R_Shadow_RenderLighting_VisibleLighting(int texturenumsurfaces, cons
 static void R_Shadow_RenderLighting_Light_GLSL(int texturenumsurfaces, const msurface_t **texturesurfacelist, const float ambientcolor[3], const float diffusecolor[3], const float specularcolor[3])
 {
        // ARB2 GLSL shader path (GFFX5200, Radeon 9500)
-       R_SetupShader_Surface(ambientcolor, diffusecolor, specularcolor, RSURFPASS_RTLIGHT, texturenumsurfaces, texturesurfacelist, NULL, false);
+       R_SetupShader_Surface(ambientcolor, diffusecolor, specularcolor, RSURFPASS_RTLIGHT, texturenumsurfaces, texturesurfacelist, NULL, false, false);
        RSurf_DrawBatch();
 }