summaryrefslogtreecommitdiff
path: root/src/port/ui/MenuTypes.h
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2026-08-01 23:22:35 -0600
committerGitHub <noreply@github.com>2026-08-01 23:22:35 -0600
commit33817cd1100ab560b16e19af34488de3b5a6b7eb (patch)
treeb0467609fd28b6f2ccf15e68aa713be55f8f6bbb /src/port/ui/MenuTypes.h
parent97f28334329d50a9cf2fb7ff1ee57ae0c18de92c (diff)
Switch LUS to port-maintenance branch (#727)HEADmainlus2
* lus update compiles but not run * Game runs, fix demo bug * Switch lus to port-maintenance branch
Diffstat (limited to 'src/port/ui/MenuTypes.h')
-rw-r--r--src/port/ui/MenuTypes.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/port/ui/MenuTypes.h b/src/port/ui/MenuTypes.h
index e86550055..b7781f2a2 100644
--- a/src/port/ui/MenuTypes.h
+++ b/src/port/ui/MenuTypes.h
@@ -2,6 +2,7 @@
#define MENUTYPES_H
#include <libultraship/libultraship.h>
+#include <fast/Fast3dWindow.h>
#include "UIWidgets.h"
typedef enum {
@@ -260,10 +261,10 @@ static const std::unordered_map<Ship::AudioBackend, const char*> audioBackendsMa
{ Ship::AudioBackend::COREAUDIO, "CoreAudio" },
};
-static const std::unordered_map<Ship::WindowBackend, const char*> windowBackendsMap = {
- { Ship::WindowBackend::FAST3D_DXGI_DX11, "DirectX" },
- { Ship::WindowBackend::FAST3D_SDL_OPENGL, "OpenGL" },
- { Ship::WindowBackend::FAST3D_SDL_METAL, "Metal" },
+static const std::unordered_map<int32_t, const char*> windowBackendsMap = {
+ { Fast::WindowBackend::FAST3D_DXGI_DX11, "DirectX" },
+ { Fast::WindowBackend::FAST3D_SDL_OPENGL, "OpenGL" },
+ { Fast::WindowBackend::FAST3D_SDL_METAL, "Metal" },
};
struct MenuInit {