- store the last found OpenGL version in the INI so that modern GL related options can be removed when running old hardware with software rendering.
This commit is contained in:
parent
4a5fe65ce8
commit
762ba13cd9
4 changed files with 15 additions and 1 deletions
|
|
@ -132,6 +132,7 @@ extern void M_SetDefaultMode ();
|
|||
extern void G_NewInit ();
|
||||
extern void SetupPlayerClasses ();
|
||||
extern void HUD_InitHud();
|
||||
void gl_PatchMenu(); // remove modern OpenGL options on old hardware.
|
||||
void DeinitMenus();
|
||||
const FIWADInfo *D_FindIWAD(TArray<FString> &wadfiles, const char *iwad, const char *basewad);
|
||||
|
||||
|
|
@ -2639,6 +2640,7 @@ void D_DoomMain (void)
|
|||
}
|
||||
|
||||
V_Init2();
|
||||
gl_PatchMenu();
|
||||
UpdateJoystickMenu(NULL);
|
||||
|
||||
v = Args->CheckValue ("-loadgame");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue