Update aurora: add D3D11 backend, disable OpenGL (broken)

This commit is contained in:
Luke Street 2023-06-28 20:02:15 -04:00
parent 7195b87ce6
commit e4a0fcec84
2 changed files with 8 additions and 1 deletions

View File

@ -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:

2
extern/aurora vendored

@ -1 +1 @@
Subproject commit ca822a7679bd0589ce8243f0138054085e3cabd6
Subproject commit 7bdeb5e17c8be25c8d53ef9c169067f2db319c6a