GS Debugger: Show "D3D11 HW" only on windows.

This commit is contained in:
lightningterror 2021-10-10 17:43:25 +02:00
parent 54d10d21ec
commit d36043c678
1 changed files with 8 additions and 6 deletions

View File

@ -84,8 +84,10 @@ Dialogs::GSDumpDialog::GSDumpDialog(wxWindow* parent)
wxArrayString rdoverrides;
rdoverrides.Add("None");
rdoverrides.Add("OGL SW");
rdoverrides.Add("D3D11 HW");
rdoverrides.Add("OGL HW");
#if defined(_WIN32)
rdoverrides.Add("D3D11 HW");
#endif
m_renderer_overrides->Create(this, wxID_ANY, "Renderer overrides", wxDefaultPosition, wxDefaultSize, rdoverrides, 1);
dbg_tree->Add(new wxStaticText(this, wxID_ANY, _("GIF Packets")));
@ -708,14 +710,14 @@ void Dialogs::GSDumpDialog::GSThread::ExecuteTaskInThread()
case 1:
renderer_override = 13;
break;
// D3D11 HW
case 2:
renderer_override = 3;
break;
// OGL HW
case 3:
case 2:
renderer_override = 12;
break;
// D3D11 HW
case 3:
renderer_override = 3;
break;
default:
break;
}