Replaced fprintf with write_log

This commit is contained in:
Dimitris Panokostas 2020-06-13 21:48:05 +02:00
parent b663f9452e
commit 2f93e56562

View file

@ -1024,7 +1024,7 @@ static void graphics_subinit()
{
open_screen(&currprefs);
if (screen == nullptr)
fprintf(stderr, "Unable to set video mode: %s\n", SDL_GetError());
write_log("Unable to set video mode: %s\n", SDL_GetError());
}
else
{