Ah, you've got me there (I don't really use WGL directly). You should be able to do that without any new primitives.
Cheers, Josh
On Jun 7, 2010, at 1:15 PM, askoh wrote:
Do we really need a primitive to do the following? AS
cl_context_properties props[] = { CL_GL_CONTEXT_KHR,
(cl_context_properties)wglGetCurrentContext(), CL_WGL_HDC_KHR, (cl_context_properties)wglGetCurrentDC(), CL_CONTEXT_PLATFORM, (cl_context_properties)cpPlatform, 0 }; cxGPUContext = clCreateContext(props, 1, &cdDevices[uiDeviceUsed], NULL, NULL, &ciErrNum);
-- View this message in context: http://forum.world.st/OpenCL-and-OpenGL-interop-tp2246017p2246493.html Sent from the Squeak - Dev mailing list archive at Nabble.com.