diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-02-22 01:48:42 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-02-22 01:48:42 +0000 |
commit | 1ea44375dd3a7031ba628044b30784c6f02fac42 (patch) | |
tree | 6e14886402441060a8935d048725ccd38ee2f109 /Game/Code/Classes | |
parent | 2fda3b9c5e622a17f3930cb8dbbf8b73bd93f753 (diff) | |
download | usdx-1ea44375dd3a7031ba628044b30784c6f02fac42.tar.gz usdx-1ea44375dd3a7031ba628044b30784c6f02fac42.tar.xz usdx-1ea44375dd3a7031ba628044b30784c6f02fac42.zip |
Linux fullscreen fix
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@883 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/UGraphic.pas | 7 | ||||
-rw-r--r-- | Game/Code/Classes/UMain.pas | 2 |
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;
|