]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - draw.h
add a (yet unused) CACHEPICFLAG_MIPMAP
[xonotic/darkplaces.git] / draw.h
diff --git a/draw.h b/draw.h
index c7f1bc273245a7237f9d7b65a320f7e42be95b41..471efedd4ec78a522b28d1146ba490f2de88e271 100644 (file)
--- a/draw.h
+++ b/draw.h
@@ -45,6 +45,8 @@ typedef struct cachepic_s
        qboolean hasalpha;
        // name of pic
        char name[MAX_QPATH];
+       // allow to override/free the texture
+       qboolean allow_free_tex;
 }
 cachepic_t;
 
@@ -54,7 +56,8 @@ typedef enum cachepicflags_e
        CACHEPICFLAG_QUIET = 2,
        CACHEPICFLAG_NOCOMPRESSION = 4,
        CACHEPICFLAG_NOCLAMP = 8,
-       CACHEPICFLAG_NEWPIC = 16 // disables matching texflags check, because a pic created with Draw_NewPic should not be subject to that
+       CACHEPICFLAG_NEWPIC = 16, // disables matching texflags check, because a pic created with Draw_NewPic should not be subject to that
+       CACHEPICFLAG_MIPMAP = 32
 }
 cachepicflags_t;