From 5fce74a2a6cf6d85acdde59c4d1cb32172c3a972 Mon Sep 17 00:00:00 2001 From: Ani Date: Wed, 22 Feb 2017 22:27:35 +0000 Subject: [PATCH] Hides D3D12 renderer on not supported OSes (#2416) Since Windows 10 is the only system supporting it there's no point in it being listed on other OSes. Should prevent users reporting D3D12 isn't working on their non-w10 OSes. --- rpcs3/Gui/SettingsDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpcs3/Gui/SettingsDialog.cpp b/rpcs3/Gui/SettingsDialog.cpp index 4f98b5b7fa..1ed0eeab43 100644 --- a/rpcs3/Gui/SettingsDialog.cpp +++ b/rpcs3/Gui/SettingsDialog.cpp @@ -424,6 +424,8 @@ SettingsDialog::SettingsDialog(wxWindow* parent) else #endif { + // Removes D3D12 from Render list when the system doesn't support it + cbox_gs_render->Delete(cbox_gs_render->FindString("D3D12")); cbox_gs_d3d_adapter->Enable(false); }