aboutsummaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/base')
-rw-r--r--src/base/UGraphic.pas3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/base/UGraphic.pas b/src/base/UGraphic.pas
index 6fa0aa8f..74088cd9 100644
--- a/src/base/UGraphic.pas
+++ b/src/base/UGraphic.pas
@@ -426,8 +426,7 @@ begin
Log.LogStatus('SDL_Init', 'UGraphic.Initialize3D');
if ( SDL_InitSubSystem(SDL_INIT_VIDEO) = -1 ) then
begin
- Log.LogError('SDL_Init Failed', 'UGraphic.Initialize3D');
- exit;
+ Log.LogCritical('SDL_Init Failed', 'UGraphic.Initialize3D');
end;
// load icon image (must be 32x32 for win32)