mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 12:04:17 +01:00
gsdx-ocl: Add a ENABLE_OPENCL option
* Allow to compile GSdx on linux without opencl yet.
This commit is contained in:
1 parent
b9b02cf749
commit
76f719e5d0
8 files changed
+30
-4
No files matched your search
+3
-1
@@ -27,6 +27,7 @@
|
||||
#include "GSDeviceNull.h"
|
||||
#include "GSDeviceOGL.h"
|
||||
#include "GSRendererOGL.h"
|
||||
#include "GSRendererCL.h"
|
||||
|
||||
#ifdef _WINDOWS
|
||||
|
||||
@@ -37,7 +38,6 @@
|
||||
#include "GSWndDX.h"
|
||||
#include "GSWndWGL.h"
|
||||
#include "GSRendererCS.h"
|
||||
#include "GSRendererCL.h"
|
||||
#include "GSSettingsDlg.h"
|
||||
|
||||
static HRESULT s_hr = E_FAIL;
|
||||
@@ -265,7 +265,9 @@ static int _GSopen(void** dsp, char* title, int renderer, int threads = -1)
|
||||
s_gs = new GSRendererNull();
|
||||
break;
|
||||
case 14: case 15: case 16: case 17:
|
||||
#ifdef ENABLE_OPENCL
|
||||
s_gs = new GSRendererCL();
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user