OK, I've put in your two changes as two SVN updates.

        - John

On 12/19/2011 7:07 AM, John Tsiombikas wrote:
On Sat, Dec 17, 2011 at 07:21:59AM -0600, John F. Fay wrote:
(2)  I put in Martin's conditional compilation for 
"atexit(fgDeinitialize)".  We should probably take it out right after 
the release.

Everybody please do a bit of testing and I'll see about Release 
Candidate 3 tomorrow.
Just got around to test this, and apparently this conditional
compilation patch was wrong. TARGET_HOST_MS_WINDOWS is defined
irrespective of if we're on windows or not. Just on windows it will be
defined to 1 while otherwise it'll be defined as 0.

Here's a patch to fix this problem.

I've also modified the deinit function to explicitly call
glutLeaveGameMode if we're in it.

------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________ Freeglut-developer mailing list Freeglut-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freeglut-developer