]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image_png.h
Fix engine not starting on Windows if linked against SDL > 2.0.5
[xonotic/darkplaces.git] / image_png.h
index e83d8cb76d23bb7926c2e7ecb8353a389018b109..d290d98f5104d3b6303e5fd4dedeeecae70336d6 100644 (file)
@@ -26,7 +26,7 @@
 
 qboolean PNG_OpenLibrary (void);
 void PNG_CloseLibrary (void);
-unsigned char* PNG_LoadImage_BGRA (const unsigned char *f, int filesize);
+unsigned char* PNG_LoadImage_BGRA (const unsigned char *f, int filesize, int *miplevel);
 qboolean PNG_SaveImage_preflipped (const char *filename, int width, int height, qboolean has_alpha, unsigned char *data);
 
 #endif