gsdx ocl: disable it on windows

Until we found a way to fix a couple of crashes
This commit is contained in:
Gregory Hainaut 2014-12-22 19:02:35 +01:00
parent 6830962c3a
commit 767b841fea
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,7 @@ GSSettingsDlg::GSSettingsDlg(bool isOpen2)
: GSDialog(isOpen2 ? IDD_CONFIG2 : IDD_CONFIG)
, m_IsOpen2(isOpen2)
{
#ifdef ENABLE_OPENCL
list<OCLDeviceDesc> ocldevs;
GSUtil::GetDeviceDescs(ocldevs);
@ -41,6 +42,7 @@ GSSettingsDlg::GSSettingsDlg(bool isOpen2)
{
m_ocl_devs.push_back(GSSetting(index++, dev.name.c_str(), ""));
}
#endif
}
void GSSettingsDlg::OnInit()

View File

@ -47,5 +47,5 @@
//#define ENABLE_OGL_STENCIL_DEBUG
#ifdef _WINDOWS
#define ENABLE_OPENCL
//#define ENABLE_OPENCL
#endif