]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - draw.h
fixed glOrtho call
[xonotic/darkplaces.git] / draw.h
diff --git a/draw.h b/draw.h
index 085259cb14a3565f324872e9c6d581b8c320e18d..bbf5a21be98e1155d633a4e416e8a483f1f2e899 100644 (file)
--- a/draw.h
+++ b/draw.h
@@ -40,6 +40,10 @@ cachepic_t;
 
 void Draw_Init (void);
 cachepic_t *Draw_CachePic (char *path);
+// create or update a pic's image
+cachepic_t *Draw_NewPic(char *picname, int width, int height, int alpha, qbyte *pixels);
+// free the texture memory used by a pic
+void Draw_FreePic(char *picname);
 
 void R_DrawQueue(void);