mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
revert r612, fix VID_Test blackscreen properly
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@826 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
137d3c2141
commit
a275c2d76f
3 changed files with 5 additions and 3 deletions
|
@ -652,7 +652,7 @@ void Draw_ConsoleBackground (void)
|
|||
|
||||
alpha = (con_forcedup) ? 1.0 : scr_conalpha.value;
|
||||
|
||||
// GL_SetCanvas (CANVAS_CONSOLE); //in case this is called from weird places
|
||||
GL_SetCanvas (CANVAS_CONSOLE); //in case this is called from weird places
|
||||
|
||||
if (alpha > 0.0)
|
||||
{
|
||||
|
|
|
@ -1035,7 +1035,10 @@ void SCR_UpdateScreen (void)
|
|||
|
||||
if (scr_drawdialog) //new game confirm
|
||||
{
|
||||
Sbar_Draw ();
|
||||
if (con_forcedup)
|
||||
Draw_ConsoleBackground ();
|
||||
else
|
||||
Sbar_Draw ();
|
||||
Draw_FadeScreen ();
|
||||
SCR_DrawNotifyString ();
|
||||
}
|
||||
|
|
|
@ -379,7 +379,6 @@ static void VID_Test (void)
|
|||
old_fullscreen = draw_context->flags & SDL_FULLSCREEN ? true : false;
|
||||
|
||||
VID_Restart ();
|
||||
SCR_UpdateScreen ();
|
||||
|
||||
//pop up confirmation dialoge
|
||||
if (!SCR_ModalMessage("Would you like to keep this\nvideo mode? (y/n)\n", 5.0f))
|
||||
|
|
Loading…
Reference in a new issue