Tweek moodle's complaint.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1887 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8f550d6d1f
commit
2eddce5713
1 changed files with 12 additions and 17 deletions
|
@ -1887,20 +1887,14 @@ TRACE(("dbg: R_RestartRenderer_f\n"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//failed, try dedicated as a last ditch effort to avoid having to edit configs.
|
Con_Printf("^1Attempting default refresh rate\n");
|
||||||
newr.renderer = QR_NONE;
|
newr.rate = 0;
|
||||||
|
if (!R_ApplyRenderer(&oldr))
|
||||||
|
{
|
||||||
if (R_ApplyRenderer(&newr))
|
if (R_ApplyRenderer(&newr))
|
||||||
{
|
{
|
||||||
TRACE(("dbg: R_RestartRenderer_f going to dedicated\n"));
|
TRACE(("dbg: R_RestartRenderer_f going to dedicated\n"));
|
||||||
|
|
||||||
if (vid_refreshrate.value != 0)
|
|
||||||
{
|
|
||||||
Con_Printf("================================\n");
|
|
||||||
Con_Printf("^1Attempting 60Hz\n");
|
|
||||||
vid_refreshrate.value = 60;
|
|
||||||
Cmd_ExecuteString("vid_restart", RESTRICT_LOCAL);
|
|
||||||
Con_Printf("================================\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
Con_Printf("\n================================\n");
|
Con_Printf("\n================================\n");
|
||||||
Con_Printf("^1Video mode switch failed. Old mode wasn't supported either. Console forced.\nChange vid_width, vid_height, vid_bpp, vid_displayfrequency to a compatable mode, and then use the setrenderer command.\n");
|
Con_Printf("^1Video mode switch failed. Old mode wasn't supported either. Console forced.\nChange vid_width, vid_height, vid_bpp, vid_displayfrequency to a compatable mode, and then use the setrenderer command.\n");
|
||||||
|
@ -1910,6 +1904,7 @@ TRACE(("dbg: R_RestartRenderer_f\n"));
|
||||||
Sys_Error("Couldn't fall back to previous renderer\n");
|
Sys_Error("Couldn't fall back to previous renderer\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
SCR_EndLoadingPlaque();
|
SCR_EndLoadingPlaque();
|
||||||
|
|
||||||
TRACE(("dbg: R_RestartRenderer_f success\n"));
|
TRACE(("dbg: R_RestartRenderer_f success\n"));
|
||||||
|
|
Loading…
Reference in a new issue