X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=image_png.h;h=d290d98f5104d3b6303e5fd4dedeeecae70336d6;hb=3161ae840da309834bd08f39be63777836fade71;hp=7862c84578568050ea77b1471074cfae01a23633;hpb=6a75f042475ac3d601c0c85ce90f7e8cb05a11d3;p=xonotic%2Fdarkplaces.git diff --git a/image_png.h b/image_png.h index 7862c845..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 (const unsigned char *f, int filesize, int matchwidth, int matchheight); +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