]> git.xonotic.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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 4 Oct 2014 20:20:22 +0000 (20:20 +0000)
commitc0eb3105f4f3c4daf3f2025246c516a8195686b7
treea7c406748d08499cc6518403a99727aac79e7603
parent0275b3fc9bbf9bea9dd5b7740ba34295a7514424
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
vid_sdl.c