Commit fc9fdea
committed
Don't sync mode cvars when vid_restart doesn't set a mode
VID_Restart (false) is used to recreate render resources without
touching the window (vsync, FSAA and OIT mode changes). It still called
VID_SyncCvars, which reset vid_width/vid_height/vid_refreshrate/
vid_fullscreen to the current mode, discarding pending selections in
the video menu. Toggling vsync therefore reverted an unapplied
resolution or fullscreen choice.1 parent 219c9bc commit fc9fdea
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4656 | 4656 | | |
4657 | 4657 | | |
4658 | 4658 | | |
4659 | | - | |
| 4659 | + | |
| 4660 | + | |
4660 | 4661 | | |
4661 | 4662 | | |
4662 | 4663 | | |
| |||
0 commit comments