mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-11 08:54:05 +03:00
feat(gx): add GxAdapterMonitorModes
This commit is contained in:
1 parent
749273e217
commit
a06d989d30
12 files changed
+231
-7
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user