aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UGraphic.pas7
-rw-r--r--Game/Code/Classes/UMain.pas2
2 files changed, 2 insertions, 7 deletions
diff --git a/Game/Code/Classes/UGraphic.pas b/Game/Code/Classes/UGraphic.pas
index fcda137c..38ae707c 100644
--- a/Game/Code/Classes/UGraphic.pas
+++ b/Game/Code/Classes/UGraphic.pas
@@ -604,13 +604,6 @@ begin
// SDL_SetRefreshrate(85);
// SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
- {$ifndef win32}
- // Todo : jb_linux remove this for linux... but helps for debugging
- Ini.FullScreen := 0;
- W := 800;
- H := 600;
- {$endif}
-
{$IFDEF DARWIN}
// Todo : eddie: remove before realease
Ini.FullScreen := 0;
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas
index bbd4a5ee..b6e151eb 100644
--- a/Game/Code/Classes/UMain.pas
+++ b/Game/Code/Classes/UMain.pas
@@ -361,6 +361,8 @@ begin
//Finish Application
//------------------------------
+ SDL_Quit();
+
{$ifdef WIN32}
if Ini.LPT = 1 then LCD.Clear;
if Ini.LPT = 2 then Light.TurnOff;