No, what you do is call "glutSetOption":

        glutSetOption( GLUT_RENDERING_CONTEXT, GLUT_USE_CURRENT_CONTEXT );

John F. Fay
john.fay@eglin.af.mil
850-729-6330
-----Original Message-----
From: freeglut-developer-admin@lists.sourceforge.net [mailto:freeglut-developer-admin@lists.sourceforge.net] On Behalf Of Max Lungarella

Sent: Monday, August 30, 2004 9:12 AM
To: freeglut-developer@lists.sourceforge.net
Subject: [Freeglut-developer] rendering contexts

Dear all

As I understand one of the improvements of Freeglut is the possibility
to share rendering contexts -- a very nice extension, I have to say.
However, how is it possible to exploit this feature? The documentation
is not very explicit about it.

I found the following defines in "freeglut_ext.h":

#define GLUT_CREATE_NEW_CONTEXT                  0
#define GLUT_USE_CURRENT_CONTEXT                 1

Do I need to recompile the library by swapping the 0 and 1?

Thank you very much!

Best.
Max



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Freeglut-developer mailing list
Freeglut-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freeglut-developer