]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_light.h
DP code cleanup, stage one - all headers that can be protected by ifdef
[xonotic/darkplaces.git] / r_light.h
index c3899f45b58ffef16e60b57b1e6f2c35120ebe79..cdbde025da835a2f1135960eaab9b3232eef8033 100644 (file)
--- a/r_light.h
+++ b/r_light.h
@@ -1,4 +1,7 @@
 
+#ifndef R_LIGHT_H
+#define R_LIGHT_H
+
 typedef struct
 {
        vec3_t origin;
@@ -19,3 +22,6 @@ void R_MarkLights(void);
 void R_DrawCoronas(void);
 void R_CompleteLightPoint(vec3_t color, vec3_t p, int dynamic, mleaf_t *leaf);
 void R_LightModel(int numverts, float colorr, float colorg, float colorb, int worldcoords);
+
+#endif
+