How i may use OpenCL with OpenGL?
I try line this:

Code :
	glGenTextures(1, &texDispMap);
	glBindTexture(GL_TEXTURE_2D, texDispMap);
	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
	glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, hmap_dim, hmap_dim, 0, GL_RGBA, GL_FLOAT, 0);
 
	bufCL_Disp = clCreateFromGLTexture2D(ctxGPU, CL_MEM_WRITE_ONLY, GL_TEXTURE_2D, 0, texDispMap, &errNum);

errNum is CL_OUT_OF_HOST_MEMORY
I go read specs, and I see "context is a valid OpenCL context created from an OpenGL context.".
Ok... I must create CL context from GL context... How I may do that?
I must use http://www.khronos.org/registry/cl/exte ... haring.txt extension for that? How? I dont find in cl.h tokens/functions for this extension.