X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=image_png.h;h=af3ab97a7241c5a71cfce0c7b2fc30b6686cc38f;hb=fd96005480560aeb2e1bd68166f6acbf12a2ec0b;hp=d290d98f5104d3b6303e5fd4dedeeecae70336d6;hpb=bf54dd6e7fb965287073b669235a7b30c7f96923;p=xonotic%2Fdarkplaces.git diff --git a/image_png.h b/image_png.h index d290d98f..af3ab97a 100644 --- a/image_png.h +++ b/image_png.h @@ -24,10 +24,12 @@ #ifndef PNG_H #define PNG_H -qboolean PNG_OpenLibrary (void); +#include "qtypes.h" + +qbool PNG_OpenLibrary (void); void PNG_CloseLibrary (void); 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); +qbool PNG_SaveImage_preflipped (const char *filename, int width, int height, qbool has_alpha, unsigned char *data); #endif