diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-07 11:55:38 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-07 11:55:38 +0000 |
commit | 55726dad18659155342a538b51ed82a1b0fcb291 (patch) | |
tree | b9ea14641eac7463a7baa915da740ea06098bdac /src | |
parent | 5ccfc5107ed4006fad3253dfd9041a42049a90d4 (diff) | |
download | usdx-55726dad18659155342a538b51ed82a1b0fcb291.tar.gz usdx-55726dad18659155342a538b51ed82a1b0fcb291.tar.xz usdx-55726dad18659155342a538b51ed82a1b0fcb291.zip |
center usdx window
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2222 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src')
-rw-r--r-- | src/base/UGraphic.pas | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/UGraphic.pas b/src/base/UGraphic.pas index 45befc46..2b9a16fe 100644 --- a/src/base/UGraphic.pas +++ b/src/base/UGraphic.pas @@ -483,6 +483,9 @@ begin SDL_WM_SetCaption(PChar(Title), nil); + { center window } + SDL_putenv('SDL_VIDEO_WINDOW_POS=center'); + //Log.BenchmarkStart(2); InitializeScreen; |