Fix switching to software

Would show a black screen for me on Linux. My suspsicion is that
some things are not initialized with just VID_CheckRenderer.
This commit is contained in:
James R 2019-10-01 23:52:08 -07:00 committed by Jaime Passos
parent 5c8604aeb7
commit 77747c66df
1 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,8 @@ void SCR_SetMode(void)
needpatchflush = true;
needpatchrecache = true;
VID_CheckRenderer();
if (!setmodeneeded)
VID_SetMode(vid.modenum);
}
if (setmodeneeded)