]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - draw.h
now has two precision error workaround cases rather than one, lifts have been success...
[xonotic/darkplaces.git] / draw.h
diff --git a/draw.h b/draw.h
index 085259cb14a3565f324872e9c6d581b8c320e18d..61d50af9a1186cd0c6cc0a5b9053f0a049c353e3 100644 (file)
--- a/draw.h
+++ b/draw.h
@@ -39,7 +39,11 @@ typedef struct cachepic_s
 cachepic_t;
 
 void Draw_Init (void);
-cachepic_t *Draw_CachePic (char *path);
+cachepic_t *Draw_CachePic (const char *path, qboolean persistent);
+// create or update a pic's image
+cachepic_t *Draw_NewPic(const char *picname, int width, int height, int alpha, qbyte *pixels);
+// free the texture memory used by a pic
+void Draw_FreePic(const char *picname);
 
 void R_DrawQueue(void);