From 556893177b079cd112c94abfe0ed7bf55baa0919 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Wed, 28 Apr 2021 21:13:00 +0300 Subject: [PATCH] [D3D12] Better D3D12 initialization failure error message --- src/xenia/ui/d3d12/d3d12_provider.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/xenia/ui/d3d12/d3d12_provider.cc b/src/xenia/ui/d3d12/d3d12_provider.cc index b1e34f977..ab038bbfa 100644 --- a/src/xenia/ui/d3d12/d3d12_provider.cc +++ b/src/xenia/ui/d3d12/d3d12_provider.cc @@ -54,7 +54,7 @@ std::unique_ptr D3D12Provider::Create(Window* main_window) { "Unable to initialize Direct3D 12 graphics subsystem.\n" "\n" "Ensure that you have the latest drivers for your GPU and it supports " - "Direct3D 12 feature level 11_0.\n" + "Direct3D 12 with the feature level of at least 11_0.\n" "\n" "See https://xenia.jp/faq/ for more information and a list of " "supported GPUs."); @@ -270,7 +270,9 @@ bool D3D12Provider::Initialize() { ++adapter_index; } if (adapter == nullptr) { - XELOGE("Failed to get an adapter supporting Direct3D feature level 11_0"); + XELOGE( + "Failed to get an adapter supporting Direct3D 12 with the feature " + "level of at least 11_0"); dxgi_factory->Release(); return false; }