From 1ea44375dd3a7031ba628044b30784c6f02fac42 Mon Sep 17 00:00:00 2001 From: tobigun Date: Fri, 22 Feb 2008 01:48:42 +0000 Subject: Linux fullscreen fix git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@883 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Classes/UGraphic.pas | 7 ------- Game/Code/Classes/UMain.pas | 2 ++ 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'Game') 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; -- cgit v1.2.3