]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
vid: apply vid_width and vid_height cvar changes immediately
authorbones_was_here <bones_was_here@xonotic.au>
Wed, 10 Apr 2024 19:39:17 +0000 (05:39 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 11 Apr 2024 12:13:51 +0000 (22:13 +1000)
commitc03b106680122333189e42294c4fb3c385307631
tree211a7bb5df97a6a275f7ac0e5b9e2011b56d0c5f
parentc3a04c3fa4ce8bce4056a6f20997f02e15bee731
vid: apply vid_width and vid_height cvar changes immediately

This uses an SDL feature to avoid a bogus hardware modesets (eg when one
cvar is changed before the other).

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
vid_sdl.c