hedgewars/hwengine.pas
branchsdl2transition
changeset 9682 aa2431ed87b2
parent 9651 c0a389ccb0c1
child 9684 8113075dc7cc
--- a/hedgewars/hwengine.pas	Tue Nov 05 23:33:23 2013 +0100
+++ b/hedgewars/hwengine.pas	Thu Nov 07 21:06:30 2013 +0400
@@ -336,7 +336,7 @@
         AddFileLog(inttostr(i) + ': ' + ParamStr(i));
 
     WriteToConsole('Init SDL... ');
-    if not cOnlyStats then SDLTry(SDL_Init(SDL_INIT_VIDEO or SDL_INIT_NOPARACHUTE) >= 0, true);
+    if not cOnlyStats then SDLTry(SDL_Init(SDL_INIT_VIDEO or SDL_INIT_NOPARACHUTE) >= 0, 'SDL_Init', true);
     WriteLnToConsole(msgOK);
 
 {$IFDEF SDL2}
@@ -347,7 +347,7 @@
     SDL_ShowCursor(0);
 
     WriteToConsole('Init SDL_ttf... ');
-    SDLTry(TTF_Init() <> -1, true);
+    SDLTry(TTF_Init() <> -1, 'TTF_Init', true);
     WriteLnToConsole(msgOK);
 
 {$IFDEF USE_VIDEO_RECORDING}