]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_textures.h
added #define snprintf _snprintf for win32
[xonotic/darkplaces.git] / r_textures.h
index 9657fadf14fc9cbb33c6c5eb88bc5918c7bdc41b..9cfcca3e76d8c0a06184301707ece27d9bda021b 100644 (file)
@@ -3,6 +3,7 @@
 #define TEXF_MIPMAP 2 // mipmapped
 #define TEXF_RGBA 4 // 32bit RGBA, as opposed to 8bit paletted
 #define TEXF_PRECACHE 8 // upload immediately, otherwise defer loading until it is used (r_textureprecache can override this)
+#define TEXF_ALWAYSPRECACHE 16 // upload immediately, never defer (ignore r_textureprecache)
 
 // contents of this structure are private to gl_textures.c
 typedef struct rtexture_s