]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
If vid_desktopfullscreen is set, manually initialize window with the current desktop...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Oct 2014 20:20:22 +0000 (20:20 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Sat, 4 Oct 2014 20:53:20 +0000 (22:53 +0200)
commit06c10ad2a0938eea375ff0976f0386bb51d10c1d
treec1e20d9e3a0cf5a2443efba59e0fe9f179136c46
parent38f2877e6eb474b156496b8cc7417ffd3e8d7c05
If vid_desktopfullscreen is set, manually initialize window with the current desktop resolution instead of with the default values and then letting sdl correct it automatically when they differ. It caused issues switching from fullscreen to window mode in the first game run

Signed-off-by: terencehill <piuntn@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12098 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=c0eb3105f4f3c4daf3f2025246c516a8195686b7
vid_sdl.c