convert Warning() and DEBUG() to GFX2_Log()

This commit is contained in:
Thomas Bernard
2018-07-12 20:41:49 +02:00
parent 90bcffa9e2
commit 4978a7cfe2
11 changed files with 111 additions and 79 deletions

View File

@@ -712,7 +712,7 @@ byte *Render_text_SFont(const char *str, int font_number, int *width, int *heigh
font=SFont_InitFont(font_surface);
if (!font)
{
DEBUG("Font init failed",1);
GFX2_Log(GFX2_ERROR, "Font init failed : %s\n", Font_name(font_number));
Free_GFX2_Surface(font_surface);
return NULL;
}