summaryrefslogtreecommitdiff
path: root/src/port/ui/MenuTypes.h
diff options
context:
space:
mode:
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 {