diff options
Diffstat (limited to 'src/base')
-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; |