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

@@ -1930,7 +1930,7 @@ static void Set_video_mode(short width,
if (Nb_video_modes >= MAX_VIDEO_MODES-1)
{
DEBUG("Error! Attempt to create too many videomodes. Maximum is:", MAX_VIDEO_MODES);
GFX2_Log(GFX2_ERROR, "Attempt to create too many videomodes. Maximum is: %d\n", MAX_VIDEO_MODES);
return;
}
if (!fullscreen)