X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=image_png.h;h=d290d98f5104d3b6303e5fd4dedeeecae70336d6;hb=83f8124af58307eae378846c9746b5d769673474;hp=045b1cb6c864365ece4c145eea80e67af806bd8f;hpb=fd091d66e2673b19eb9c7d73d95160ef874de5e6;p=xonotic%2Fdarkplaces.git diff --git a/image_png.h b/image_png.h index 045b1cb6..d290d98f 100644 --- a/image_png.h +++ b/image_png.h @@ -26,7 +26,8 @@ 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