X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=draw.h;h=61d50af9a1186cd0c6cc0a5b9053f0a049c353e3;hb=d7fd66581c5ea2bdb6c6f589fb02c0c40ee6974b;hp=4c507883b3b31ff02b495b93b4dbb69ab18e3aa3;hpb=e5026b6eb290b2098c6ce92ae7b777fb4457227b;p=xonotic%2Fdarkplaces.git diff --git a/draw.h b/draw.h index 4c507883..61d50af9 100644 --- a/draw.h +++ b/draw.h @@ -39,11 +39,11 @@ typedef struct cachepic_s cachepic_t; void Draw_Init (void); -cachepic_t *Draw_CachePic (char *path, qboolean persistent); +cachepic_t *Draw_CachePic (const char *path, qboolean persistent); // create or update a pic's image -cachepic_t *Draw_NewPic(char *picname, int width, int height, int alpha, qbyte *pixels); +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(char *picname); +void Draw_FreePic(const char *picname); void R_DrawQueue(void);