mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #2708
2708: Disabling 3.3 in settings tab should reset to version 3.0 r=def- a=Jupeyy We don't have a way to query the default config value, except including the config_variables.h, do we? Co-authored-by: Jupeyy <jupjopjap@gmail.com>
This commit is contained in:
commit
9b334e6fcf
|
@ -1025,8 +1025,8 @@ void CMenus::RenderSettingsGraphics(CUIRect MainView)
|
|||
CheckSettings = true;
|
||||
if(IsNewOpenGL)
|
||||
{
|
||||
g_Config.m_GfxOpenGLMajor = 2;
|
||||
g_Config.m_GfxOpenGLMinor = 1;
|
||||
g_Config.m_GfxOpenGLMajor = 3;
|
||||
g_Config.m_GfxOpenGLMinor = 0;
|
||||
g_Config.m_GfxOpenGLPatch = 0;
|
||||
IsNewOpenGL = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue