- 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
|
|
@ -42,6 +42,8 @@ void gl_PatchMenu();
|
|||
static TArray<FString> m_Extensions;
|
||||
RenderContext gl;
|
||||
|
||||
EXTERN_CVAR(Bool, gl_legacy_mode)
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
|
|
@ -311,8 +313,8 @@ void gl_LoadExtensions()
|
|||
FUDGE_FUNC(glRenderbufferStorage, EXT);
|
||||
FUDGE_FUNC(glBindRenderbuffer, EXT);
|
||||
FUDGE_FUNC(glCheckFramebufferStatus, EXT);
|
||||
gl_PatchMenu();
|
||||
}
|
||||
gl_legacy_mode = gl.legacyMode;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue