From e4a0fcec8489d23215fe0810e720227cf5cdbfd0 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Wed, 28 Jun 2023 20:02:15 -0400 Subject: [PATCH] Update aurora: add D3D11 backend, disable OpenGL (broken) --- Runtime/ImGuiConsole.cpp | 7 +++++++ extern/aurora | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Runtime/ImGuiConsole.cpp b/Runtime/ImGuiConsole.cpp index 560b02b3d..3fdbe0e99 100644 --- a/Runtime/ImGuiConsole.cpp +++ b/Runtime/ImGuiConsole.cpp @@ -1954,6 +1954,9 @@ AuroraBackend backend_from_string(const std::string& str) { if (eq(str, "d3d12"sv) || eq(str, "d3d"sv)) { return BACKEND_D3D12; } + if (eq(str, "d3d11"sv)) { + return BACKEND_D3D11; + } if (eq(str, "metal"sv)) { return BACKEND_METAL; } @@ -1979,6 +1982,8 @@ std::string_view backend_to_string(AuroraBackend backend) { switch (backend) { default: return "auto"sv; + case BACKEND_D3D11: + return "d3d11"sv; case BACKEND_D3D12: return "d3d12"sv; case BACKEND_METAL: @@ -2000,6 +2005,8 @@ std::string_view backend_name(AuroraBackend backend) { switch (backend) { default: return "Auto"sv; + case BACKEND_D3D11: + return "D3D11"sv; case BACKEND_D3D12: return "D3D12"sv; case BACKEND_METAL: diff --git a/extern/aurora b/extern/aurora index ca822a767..7bdeb5e17 160000 --- a/extern/aurora +++ b/extern/aurora @@ -1 +1 @@ -Subproject commit ca822a7679bd0589ce8243f0138054085e3cabd6 +Subproject commit 7bdeb5e17c8be25c8d53ef9c169067f2db319c6a