]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_textures.h
DP code cleanup, stage one - all headers that can be protected by ifdef
[xonotic/darkplaces.git] / r_textures.h
index 5d810b930b954c027eed3b005b5b4383ccdf49f4..3abbe5839a951e47cb7b6de7cd00056ae394a011 100644 (file)
@@ -1,4 +1,7 @@
 
+#ifndef R_TEXTURES_H
+#define R_TEXTURES_H
+
 // transparent
 #define TEXF_ALPHA 0x00000001
 // mipmapped
@@ -68,3 +71,6 @@ int R_TextureWidth(rtexture_t *rt);
 
 // returns height of texture, as was specified when it was uploaded
 int R_TextureHeight(rtexture_t *rt);
+
+#endif
+