define g_haveOpenCL only when HAVE_OPENCL is set
This commit is contained in:
parent
387214a3c5
commit
22599a2812
@ -684,10 +684,10 @@ typedef struct _cl_buffer_region {
|
||||
|
||||
#define CL_CALLBACK CV_STDCALL
|
||||
|
||||
static volatile bool g_haveOpenCL = false;
|
||||
|
||||
#ifdef HAVE_OPENCL
|
||||
static const char* oclFuncToCheck = "clEnqueueReadBufferRect";
|
||||
static volatile bool g_haveOpenCL = false;
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) && defined(HAVE_OPENCL)
|
||||
|
Loading…
Reference in New Issue
Block a user