PDA

View Full Version : glutCheckLoop();



hcrogma
04-25-2003, 03:30 AM
Does any one know if glutCheckLoop();and glutWMCloseFunc(window1);are available for Mac OS 9

nexusone
04-25-2003, 06:12 AM
These are glut patchs for a bug's:

glutWMCloseFunc creates a function that is call on window exit using the [X]window button. Currently glut get's stuck in the background when you exit the windows that way.


glutCheckloop work around for not being stuck in the glutmainloop, so that you can use other library call's that oterwise could not be used with glut.

A google search came up to this Mac programming site in which the glut patch is included in the Mac version as well:
http://developer.apple.com/samplecode/Sample_Code/Graphics_3D/glut.htm

Now to use these you need a modified GLUT32.LIB and GLUT32.DLL, which means you program will not run under the standard GLUT32.DLL.


Originally posted by hcrogma:
Does any one know if glutCheckLoop();and glutWMCloseFunc(window1);are available for Mac OS 9

[This message has been edited by nexusone (edited 04-25-2003).]

[This message has been edited by nexusone (edited 04-25-2003).]