mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed window positioning for windows
This commit is contained in:
parent
00794899d6
commit
51314e4576
|
@ -224,6 +224,10 @@ int gfx_init()
|
|||
|
||||
if(!no_gfx)
|
||||
{
|
||||
#ifdef CONF_FAMILY_WINDOWS
|
||||
if(!getenv("SDL_VIDEO_WINDOW_POS") && !getenv("SDL_VIDEO_CENTERED"))
|
||||
putenv("SDL_VIDEO_WINDOW_POS=8,27");
|
||||
#endif
|
||||
do
|
||||
{
|
||||
if(try_init() == 0)
|
||||
|
|
Loading…
Reference in a new issue