Warning() => GFX2_Log(GFX2_WARNING)

This commit is contained in:
Thomas Bernard
2020-04-13 00:43:47 +02:00
parent 7f08ad5bb9
commit 2c9b79a6af
10 changed files with 23 additions and 40 deletions

View File

@@ -748,7 +748,7 @@ byte *Render_text_SFont(const char *str, int font_number, int *width, int *heigh
text_surface = New_GFX2_Surface(*width, *height);
if (text_surface == NULL)
{
Warning("Failed to allocate text surface");
GFX2_Log(GFX2_WARNING, "Failed to allocate text surface\n");
SFont_FreeFont(font);
return NULL;
}