mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 18:18:18 +00:00
one more centering window in graphics
This commit is contained in:
parent
d617db8c32
commit
471d479300
|
@ -900,7 +900,7 @@ int CGraphics_SDL::Init()
|
||||||
|
|
||||||
#ifdef CONF_FAMILY_WINDOWS
|
#ifdef CONF_FAMILY_WINDOWS
|
||||||
if(!getenv("SDL_VIDEO_WINDOW_POS") && !getenv("SDL_VIDEO_CENTERED")) // ignore_convention
|
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
|
#endif
|
||||||
|
|
||||||
if(InitWindow() != 0)
|
if(InitWindow() != 0)
|
||||||
|
|
Loading…
Reference in a new issue