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.
This commit is contained in:
Ani 2017-02-22 22:27:35 +00:00 committed by GitHub
parent 7c418f7ea5
commit 5fce74a2a6
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}