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:
parent
5c8604aeb7
commit
77747c66df
|
@ -203,6 +203,8 @@ void SCR_SetMode(void)
|
||||||
needpatchflush = true;
|
needpatchflush = true;
|
||||||
needpatchrecache = true;
|
needpatchrecache = true;
|
||||||
VID_CheckRenderer();
|
VID_CheckRenderer();
|
||||||
|
if (!setmodeneeded)
|
||||||
|
VID_SetMode(vid.modenum);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (setmodeneeded)
|
if (setmodeneeded)
|
||||||
|
|
Loading…
Reference in New Issue