Question: In any case, to get the OpenGL context from GLUT?
The information: I study openGL and openCL. I almost finished my first program that uses them together, everything will work wonderfully if I could only create the created openCL context, but to do this and get the exchange job I need to get the openGL context. I could figure out the process of working with X, but I was hoping to keep it as independent of the platform as possible with the smallest possible libraries. I just have to find out something else, if not. but I decided that I should at least ask before giving up. Anyway, actually, to get an OpenGL context from GLUT?
source share