GSdx-gui: Remove some leftover D3D9 code in the gui.

This commit is contained in:
lightningterror 2018-12-20 10:15:09 +01:00
parent d4d95e2f10
commit 824473a34b
5 changed files with 0 additions and 7 deletions

View File

@ -236,7 +236,6 @@ enum class GSRendererType : int8_t
Null = 11,
OGL_HW,
OGL_SW,
DX9_OpenCL,
DX1011_OpenCL,
OGL_OpenCL = 17,

View File

@ -216,7 +216,6 @@ void GSdxApp::Init()
// OpenCL stuff goes last
// FIXME openCL isn't attached to a device (could be impacted by the window management stuff however)
#ifdef _WIN32
m_gs_renderers.push_back(GSSetting(static_cast<uint32>(GSRendererType::DX9_OpenCL), "Direct3D 9", "OpenCL"));
m_gs_renderers.push_back(GSSetting(static_cast<uint32>(GSRendererType::DX1011_OpenCL), "Direct3D 11", "OpenCL"));
#endif
m_gs_renderers.push_back(GSSetting(static_cast<uint32>(GSRendererType::OGL_OpenCL), "OpenGL", "OpenCL"));
@ -307,7 +306,6 @@ void GSdxApp::Init()
m_gs_tv_shaders.push_back(GSSetting(3, "Triangular filter", ""));
m_gs_tv_shaders.push_back(GSSetting(4, "Wave filter", ""));
m_gpu_renderers.push_back(GSSetting(static_cast<int8>(GPURendererType::D3D9_SW), "Direct3D 9", "Software"));
m_gpu_renderers.push_back(GSSetting(static_cast<int8>(GPURendererType::D3D11_SW), "Direct3D 11", "Software"));
m_gpu_renderers.push_back(GSSetting(static_cast<int8>(GPURendererType::NULL_Renderer), "Null", ""));

View File

@ -266,7 +266,6 @@ REG_SET_END
enum class GPURendererType : int8
{
D3D9_SW,
D3D11_SW,
NULL_Renderer,
};

View File

@ -140,12 +140,10 @@ void GPUSettingsDlg::UpdateControls()
{
GPURendererType renderer = static_cast<GPURendererType>(i);
bool dx9 = renderer == GPURendererType::D3D9_SW;
bool dx11 = renderer == GPURendererType::D3D11_SW;
bool null = renderer == GPURendererType::NULL_Renderer;
bool sw = !null;
ShowWindow(GetDlgItem(m_hWnd, IDC_PSX_LOGO9), dx9 ? SW_SHOW : SW_HIDE);
ShowWindow(GetDlgItem(m_hWnd, IDC_PSX_LOGO11), dx11 ? SW_SHOW : SW_HIDE);
ShowWindow(GetDlgItem(m_hWnd, IDC_PSX_NULL), null ? SW_SHOW : SW_HIDE);

View File

@ -53,7 +53,6 @@
#define IDB_PSX_NULL 2070
#define IDB_PSX_LOGO11 2072
#define IDC_PSX_NULL 2073
#define IDC_PSX_LOGO9 2074
#define IDC_PSX_LOGO11 2075
#define IDD_GPUCONFIG 2076
#define IDC_ASPECTRATIO 2077