From: Fay J. F C. AAC/W. <joh...@eg...> - 2004-08-30 14:59:35
|
No, what you do is call "glutSetOption": glutSetOption( GLUT_RENDERING_CONTEXT, GLUT_USE_CURRENT_CONTEXT ); John F. Fay joh...@eg... 850-729-6330 -----Original Message----- From: fre...@li... [mailto:fre...@li...] On Behalf Of Max Lungarella Sent: Monday, August 30, 2004 9:12 AM To: fre...@li... 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 Fre...@li... https://lists.sourceforge.net/lists/listinfo/freeglut-developer |