mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-12 17:24:40 +03:00
fix(gx): log what api is being used when initializing device
This commit is contained in:
1 parent
6fa58683ad
commit
422a36cd93
7 files changed
+24
-3
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user