]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - draw.h
DP code cleanup, stage one - all headers that can be protected by ifdef
[xonotic/darkplaces.git] / draw.h
diff --git a/draw.h b/draw.h
index a1896c0123e2b1f07456f1f8e36fd419b7c15d98..085259cb14a3565f324872e9c6d581b8c320e18d 100644 (file)
--- a/draw.h
+++ b/draw.h
@@ -21,6 +21,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 // draw.h -- these are the only functions outside the refresh allowed
 // to touch the vid buffer
 
+#ifndef DRAW_H
+#define DRAW_H
+
 // FIXME: move this stuff to cl_screen
 typedef struct cachepic_s
 {
@@ -39,3 +42,6 @@ void Draw_Init (void);
 cachepic_t *Draw_CachePic (char *path);
 
 void R_DrawQueue(void);
+
+#endif
+