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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@612 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
svdijk 2012-01-18 12:48:09 +00:00
parent ec75ca1621
commit f53eccda96
1 changed files with 1 additions and 0 deletions

View File

@ -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))