mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 12:25:59 +03:00
fix(console): use InternalSet() when setting the launch value of CVar gxApi
This commit is contained in:
parent
742e53f148
commit
d6de5b56ec
@ -297,7 +297,9 @@ void ConsoleDeviceInitialize(const char* title) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
s_cvGxApi->Set(g_gxApiNames[api], true, false, false, true);
|
// Set internally (CVar value reflects the current gxApi at launch),
|
||||||
|
// this will not Set() as CVar gxApi is latched
|
||||||
|
s_cvGxApi->InternalSet(g_gxApiNames[api], true, false, false, true);
|
||||||
|
|
||||||
CGxDevice* device = GxDevCreate(api, OsWindowProc, format);
|
CGxDevice* device = GxDevCreate(api, OsWindowProc, format);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user