mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -203,6 +203,8 @@ void SCR_SetMode(void)
|
|||
needpatchflush = true;
|
||||
needpatchrecache = true;
|
||||
VID_CheckRenderer();
|
||||
if (!setmodeneeded)
|
||||
VID_SetMode(vid.modenum);
|
||||
}
|
||||
|
||||
if (setmodeneeded)
|
||||
|
|
Loading…
Reference in a new issue