fix in Render_text_SFont()

This commit is contained in:
Thomas Bernard 2018-07-12 20:42:30 +02:00
parent 4978a7cfe2
commit 129c0ae550

View File

@ -726,7 +726,6 @@ byte *Render_text_SFont(const char *str, int font_number, int *width, int *heigh
{
Warning("Failed to allocate text surface");
SFont_FreeFont(font);
Free_GFX2_Surface(font_surface);
return NULL;
}
// Fill with transparent color