aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/base/UMain.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/UMain.pas b/src/base/UMain.pas
index 174ef162..14a543d1 100644
--- a/src/base/UMain.pas
+++ b/src/base/UMain.pas
@@ -489,6 +489,9 @@ begin
SDL_SetVideoMode(ScreenW, ScreenH, (Ini.Depth+1) * 16, SDL_OPENGL or SDL_FULLSCREEN)
else
SDL_SetVideoMode(ScreenW, ScreenH, (Ini.Depth+1) * 16, SDL_OPENGL or SDL_RESIZABLE);
+ {$ELSE}
+ Screen.W := ScreenW;
+ Screen.H := ScreenH;
{$IFEND}
end;
SDL_KEYDOWN: