mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(gx): log what api is being used when initializing device
This commit is contained in:
parent
6fa58683ad
commit
422a36cd93
7 changed files with 24 additions and 3 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "event/Input.hpp"
|
||||
#include "gx/Device.hpp"
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
|
||||
CVar* s_cvGxMaximize;
|
||||
CVar* s_cvGxResolution;
|
||||
|
|
@ -297,6 +298,9 @@ void ConsoleDeviceInitialize(const char* title) {
|
|||
}
|
||||
}
|
||||
|
||||
// Log
|
||||
printf("GxApi_%s selected\n", g_gxApiNames[api]);
|
||||
|
||||
// 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue