Hi all Fortran hackers!!!
Thanks to Folco Casadei I have put some source code on my website which you can use to rebuild your glut distro to make the new functions glutCheckLoop() and glutWMCloseFunc() work from Fortran.
Source for these new functions can also be found on the website.
my glut mods
http://www-users.york.ac.uk/~rpf1/glut/source
f90 support
http://www-users.york.ac.uk/~rpf1/glut/source/f90
If you find bugs/problems, let me know and I will pass the info the the implementor.
Share and enjoy!
Cheers,
Rob