static void PNG_error_fn(void *png, const char *message)
{
- Con_Printf("PNG_LoadImage: error: %s\n", message);
+ Con_Errorf("PNG_LoadImage: error: %s\n", message);
}
static void PNG_warning_fn(void *png, const char *message)
{
- Con_Printf("PNG_LoadImage: warning: %s\n", message);
+ Con_Warnf("PNG_LoadImage: warning: %s\n", message);
}
unsigned char *PNG_LoadImage_BGRA (const unsigned char *raw, int filesize, int *miplevel)