diff options
| author | oy <tom_adams@web.de> | 2013-02-25 13:28:43 -0800 |
|---|---|---|
| committer | oy <tom_adams@web.de> | 2013-02-25 13:28:43 -0800 |
| commit | 32c49d7638a5f0bf7497c9e6ae3e1e65731d462c (patch) | |
| tree | 6b8e59df8a4f3d3f6e0fd5cf9029b89322976bde /src | |
| parent | f010791231c95eed49c63ce3f2e6809b8c932f27 (diff) | |
| parent | ebdd1af7a3fbf609f7123e8355f18ca980b1921e (diff) | |
| download | zcatch-32c49d7638a5f0bf7497c9e6ae3e1e65731d462c.tar.gz zcatch-32c49d7638a5f0bf7497c9e6ae3e1e65731d462c.zip | |
Merge pull request #1071 from PsychoGod/pullreq
window center position when windowed on Windows :3
Diffstat (limited to 'src')
| -rw-r--r-- | src/engine/client/backend_sdl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp index 6fa6de01..37d1019a 100644 --- a/src/engine/client/backend_sdl.cpp +++ b/src/engine/client/backend_sdl.cpp @@ -499,7 +499,7 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Width, int *Height #ifdef CONF_FAMILY_WINDOWS if(!getenv("SDL_VIDEO_WINDOW_POS") && !getenv("SDL_VIDEO_CENTERED")) // ignore_convention - putenv("SDL_VIDEO_WINDOW_POS=8,27"); // ignore_convention + putenv("SDL_VIDEO_WINDOW_POS=center"); // ignore_convention #endif } |