mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
fix(console): use InternalSet() when setting the launch value of CVar gxApi
This commit is contained in:
parent
742e53f148
commit
d6de5b56ec
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue