feat(gx): add GxAdapterMonitorModes

This commit is contained in:
fallenoak committed 2025-11-08 23:03:23 -06:00
1 parent 749273e217
commit a06d989d30
12 files changed
+231 -7

No files matched your search

+5
View File
@@ -3,8 +3,10 @@
#include "console/Console.hpp"
#include "console/CVar.hpp"
#include "event/Input.hpp"
#include "gx/Adapter.hpp"
#include "gx/Device.hpp"
#include <cstring>
#include <storm/Array.hpp>
static CGxDevice* s_device;
static CVar* s_cvGxMaximize;
@@ -12,6 +14,7 @@ static CVar* s_cvGxResolution;
static CVar* s_cvGxWidescreen;
static CVar* s_cvGxWindow;
static DefaultSettings s_defaults;
static TSGrowableArray<CGxMonitorMode> s_gxMonitorModes;
static bool s_hwDetect;
static bool s_hwChanged;
static CGxFormat s_requestedFormat;
@@ -158,6 +161,8 @@ void ConsoleDeviceInitialize(const char* title) {
// TODO ConsoleCommandRegister("gxRestart", &CCGxRestart, 1, nullptr);
GxAdapterMonitorModes(s_gxMonitorModes);
// TODO
// TODO