From e89f46139be14de1c6745aef47ff7b04418c1050 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Sun, 16 Jun 2019 21:25:25 +0200 Subject: [PATCH] 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. --- plugins/GSdx/Window/GSSettingsDlg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/GSdx/Window/GSSettingsDlg.cpp b/plugins/GSdx/Window/GSSettingsDlg.cpp index 47179add16..f272b00f56 100644 --- a/plugins/GSdx/Window/GSSettingsDlg.cpp +++ b/plugins/GSdx/Window/GSSettingsDlg.cpp @@ -67,7 +67,9 @@ std::vector GSSettingsDlg::EnumerateD3D11Adapters() std::vector 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 adapter;