Render from a new thread

I saw that you have to call this:


glXMakeCurrent(glXGetCurrentDisplay(), glXGetCurrentDrawable(), ?? )

if you want to start rendering from a new thread. I don’t understand the third parameter.

Any clues? (I saw this: http://www.x.org/archive/X11R6.8.2/doc/glXCopyContext.3.html and still dont get it).

Thanks,

Dave

The link you provide is not the good one.
http://www.x.org/archive/X11R6.8.2/doc/glXMakeCurrent.3.html
The third parameter is a GLXContext, ie. the one that was given by cretecontext :
http://www.x.org/archive/X11R6.8.2/doc/glXCreateContext.3.html