mirror of https://github.com/PCSX2/pcsx2.git
GSdx-Windows: Grey out OSD and Shader Configuration
Grey out OSD Configuration button for Direct3D since only OpenGL supports the feature atm. Grey out Shader Configuration button in Core Benchmark.
This commit is contained in:
parent
854f3d5b85
commit
91d8e7c7c6
|
@ -399,7 +399,7 @@ void GSSettingsDlg::UpdateControls()
|
|||
ShowWindow(GetDlgItem(m_hWnd, IDC_OPENCL_TEXT), SW_HIDE);
|
||||
#endif
|
||||
|
||||
ShowWindow(GetDlgItem(m_hWnd, IDC_LOGZ), dx9? SW_SHOW: SW_HIDE);
|
||||
ShowWindow(GetDlgItem(m_hWnd, IDC_LOGZ), dx9 ? SW_SHOW: SW_HIDE);
|
||||
ShowWindow(GetDlgItem(m_hWnd, IDC_FBA), dx9 ? SW_SHOW : SW_HIDE);
|
||||
|
||||
ShowWindow(GetDlgItem(m_hWnd, IDC_ACCURATE_DATE), ogl ? SW_SHOW : SW_HIDE);
|
||||
|
@ -443,6 +443,12 @@ void GSSettingsDlg::UpdateControls()
|
|||
// Hacks
|
||||
EnableWindow(GetDlgItem(m_hWnd, IDC_HACKS_ENABLED), hw);
|
||||
EnableWindow(GetDlgItem(m_hWnd, IDC_HACKSBUTTON), hw && IsDlgButtonChecked(m_hWnd, IDC_HACKS_ENABLED));
|
||||
|
||||
// OSD Configuration
|
||||
EnableWindow(GetDlgItem(m_hWnd, IDC_OSDBUTTON), ogl);
|
||||
|
||||
// Shader Configuration
|
||||
EnableWindow(GetDlgItem(m_hWnd, IDC_SHADEBUTTON), !null);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue