mirror of https://github.com/PCSX2/pcsx2.git
gsdx-d3d11/gui: Don't display Reference Device in available Adapters in release builds. Display it only on debug builds.
It is used for debugging only.
This commit is contained in:
parent
a936cd9eb1
commit
e89f46139b
|
@ -67,7 +67,9 @@ std::vector<GSSettingsDlg::Adapter> GSSettingsDlg::EnumerateD3D11Adapters()
|
|||
|
||||
std::vector<Adapter> adapters {
|
||||
{"Default Hardware Device", "default", GSUtil::CheckDirect3D11Level(nullptr, D3D_DRIVER_TYPE_HARDWARE)},
|
||||
#ifdef _DEBUG
|
||||
{"Reference Device", "ref", GSUtil::CheckDirect3D11Level(nullptr, D3D_DRIVER_TYPE_REFERENCE)},
|
||||
#endif
|
||||
};
|
||||
|
||||
CComPtr<IDXGIAdapter1> adapter;
|
||||
|
|
Loading…
Reference in New Issue