mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +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
98f903b311
commit
0b87dd3554
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue