I have been playing around with OpenGL interop, and saw that the cl::Context constructor had properties set as NULL. From all of the OpenGL example code I have seen this parameter is for relaying OpenGL information to OpenCL, should this be changed (cl.hpp, line 1486) from:
Context(
const VECTOR_CLASS<Device>& devices,
cl_context_properties* properties = NULL,
void (*notifyFptr)(
const char *,
const void *,
::size_t,
void *) = NULL,
void* data = NULL,
cl_int* err = NULL)
to
Context(
const VECTOR_CLASS<Device>& devices,
cl_context_properties* properties,
void (*notifyFptr)(
const char *,
const void *,
::size_t,
void *) = NULL,
void* data = NULL,
cl_int* err = NULL)
Thanks,
Chris