Merge pull request #1071 from PsychoGod/pullreq

window center position when windowed on Windows :3
This commit is contained in:
oy 2013-02-25 13:28:43 -08:00
commit 32c49d7638

View file

@ -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
}