]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - draw.h
eliminated qbyte type, now uses unsigned char throughout the engine for this purpose
[xonotic/darkplaces.git] / draw.h
diff --git a/draw.h b/draw.h
index 4c507883b3b31ff02b495b93b4dbb69ab18e3aa3..5fe0b8bfbc1e865b7619ffcc2cd78b7c20b671b2 100644 (file)
--- 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, unsigned char *pixels);
 // free the texture memory used by a pic
-void Draw_FreePic(char *picname);
+void Draw_FreePic(const char *picname);
 
 void R_DrawQueue(void);