]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image_png.c
VM_stringtokeynum: return a float, not an int
[xonotic/darkplaces.git] / image_png.c
index b3ceadd7f82e9fd6a6347a378da723761a8a8672..0b9543e8742890d76955e5cf814f9e24d0f35e12 100644 (file)
@@ -255,7 +255,7 @@ void PNG_warning_fn(void *png, const char *message)
 extern int     image_width;
 extern int     image_height;
 
-unsigned char *PNG_LoadImage_BGRA (const unsigned char *raw, int filesize)
+unsigned char *PNG_LoadImage_BGRA (const unsigned char *raw, int filesize, int *miplevel)
 {
        unsigned int c;
        unsigned int    y;