mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-19 10:31:08 +00:00
When modetesting, redraw the screen before asking for confirmation. Otherwise the screen is just a black rectangle, which may be confusing for the user.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@612 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
695398b606
commit
4db1a1a004
1 changed files with 1 additions and 0 deletions
|
@ -444,6 +444,7 @@ static void VID_Test (void)
|
||||||
oldmode = modelist[vid_default];
|
oldmode = modelist[vid_default];
|
||||||
|
|
||||||
VID_Restart ();
|
VID_Restart ();
|
||||||
|
SCR_UpdateScreen ();
|
||||||
|
|
||||||
//pop up confirmation dialoge
|
//pop up confirmation dialoge
|
||||||
if (!SCR_ModalMessage("Would you like to keep this\nvideo mode? (y/n)\n", 5.0f))
|
if (!SCR_ModalMessage("Would you like to keep this\nvideo mode? (y/n)\n", 5.0f))
|
||||||
|
|
Loading…
Reference in a new issue