X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=draw.h;h=bbf5a21be98e1155d633a4e416e8a483f1f2e899;hb=931cdde2eb5df5ab2c8e0b5f0832ef3b102c2fdd;hp=085259cb14a3565f324872e9c6d581b8c320e18d;hpb=0256e57e16a302ad45090618b8d6eb5930788809;p=xonotic%2Fdarkplaces.git diff --git a/draw.h b/draw.h index 085259cb..bbf5a21b 100644 --- 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);