[quake3-commits] [ioquake/ioq3] 699cbe: Fix mouse grab after toggling fullscreen
Zack Middleton
zack at cloemail.com
Mon Apr 9 01:14:29 EDT 2018
Branch: refs/heads/master
Home: https://github.com/ioquake/ioq3
Commit: 699cbed7c76bce82191ad5c3b3d5a68b9f5c64dd
https://github.com/ioquake/ioq3/commit/699cbed7c76bce82191ad5c3b3d5a68b9f5c64dd
Author: Zack Middleton <zack at cloemail.com>
Date: 2018-04-09 (Mon, 09 Apr 2018)
Changed paths:
M code/sdl/sdl_input.c
Log Message:
-----------
Fix mouse grab after toggling fullscreen
cls.glconfig.isFullscreen was not updated when changing r_fullscreen
without a vid_restart. Starting in fullscreen and switching to
windowed mode would not release the mouse.
Mods calling trap_GetGlconfig() after a fullscreen toggle now get
the correct value for isFullscreen. (Note: Mods already got the
correct value at start up and after vid_restart.)
Reported by Mickaƫl "mickael9" Thomas.
More information about the quake3-commits
mailing list