From 8febf5df04a390b133f976256bcd976460d8ebd5 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 11 Jul 2020 21:23:39 +1000 Subject: [PATCH] D3D11HostDisplay: Fix reversed feature level order --- src/frontend-common/d3d11_host_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend-common/d3d11_host_display.cpp b/src/frontend-common/d3d11_host_display.cpp index 62ba425cd..e4d9ce613 100644 --- a/src/frontend-common/d3d11_host_display.cpp +++ b/src/frontend-common/d3d11_host_display.cpp @@ -217,7 +217,7 @@ bool D3D11HostDisplay::CreateRenderDevice(const WindowInfo& wi, std::string_view Log_WarningPrintf("Failed to enumerate adapter %u, using default", adapter_index); static constexpr std::array requested_feature_levels = { - {D3D_FEATURE_LEVEL_10_0, D3D_FEATURE_LEVEL_10_1, D3D_FEATURE_LEVEL_11_0}}; + {D3D_FEATURE_LEVEL_11_0, D3D_FEATURE_LEVEL_10_1, D3D_FEATURE_LEVEL_10_0}}; hr = D3D11CreateDevice(dxgi_adapter.Get(), dxgi_adapter ? D3D_DRIVER_TYPE_UNKNOWN : D3D_DRIVER_TYPE_HARDWARE, nullptr,