]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.c
some const fixes and type fixes found by gcc -combine
[xonotic/darkplaces.git] / r_shadow.c
index 576e4b0ebcc4dbc81e46d37b995536a38f73d6c4..0091ada67abbe8c956cf1593c111063d49ab09f4 100644 (file)
@@ -1051,7 +1051,7 @@ void R_Shadow_RenderMode_Begin(void)
                r_shadow_lightingrendermode = R_SHADOW_RENDERMODE_LIGHT_VERTEX;
 }
 
-void R_Shadow_RenderMode_ActiveLight(rtlight_t *rtlight)
+void R_Shadow_RenderMode_ActiveLight(const rtlight_t *rtlight)
 {
        rsurface.rtlight = rtlight;
 }