]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - render.h
some const fixes and type fixes found by gcc -combine
[xonotic/darkplaces.git] / render.h
index c267399d28c2b416f5702843faec0f3277a55f19..bc43037674e04463fd97535c9a9ce2b9923164d7 100644 (file)
--- a/render.h
+++ b/render.h
@@ -316,7 +316,7 @@ typedef struct rsurfacestate_s
 
        // rtlight rendering
        // light currently being rendered
-       rtlight_t *rtlight;
+       const rtlight_t *rtlight;
        // current light's cull box (copied out of an rtlight or calculated by GetLightInfo)
        vec3_t rtlight_cullmins;
        vec3_t rtlight_cullmaxs;