]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.h
fix a mingw warning
[xonotic/darkplaces.git] / image.h
diff --git a/image.h b/image.h
index 1309ffe418d9801af2cb7c58c2141be89c9d9cc3..c553a97e1f31c0b2e53a9b53c2ebab4f16765175 100644 (file)
--- a/image.h
+++ b/image.h
@@ -20,10 +20,10 @@ void Image_Copy8bitBGRA(const unsigned char *in, unsigned char *out, int pixels,
 void Image_StripImageExtension (const char *in, char *out, size_t size_out);
 
 // called by conchars.tga loader in gl_draw.c, otherwise private
-unsigned char *LoadTGA_BGRA (const unsigned char *f, int filesize);
+unsigned char *LoadTGA_BGRA (const unsigned char *f, int filesize, int *miplevel);
 
 // loads a texture, as pixel data
-unsigned char *loadimagepixelsbgra (const char *filename, qboolean complain, qboolean allowFixtrans, qboolean convertsRGB);
+unsigned char *loadimagepixelsbgra (const char *filename, qboolean complain, qboolean allowFixtrans, qboolean convertsRGB, int *miplevel);
 
 // loads an 8bit pcx image into a 296x194x8bit buffer, with cropping as needed
 qboolean LoadPCX_QWSkin(const unsigned char *f, int filesize, unsigned char *pixels, int outwidth, int outheight);