GLUT exitting...
Once I''ve called glutMainLoop, how can I exit my program via code? I don''t want to use windows specific functions although I will if I ABSOLUTELY must. So does anyone know a function I might have missed?
GLUT was designed somewhat annoyingly. Something like exit is really the only way to force it to exit the loop as far as I''m aware.
Damn... Well that won''t make it leak memory or anything stupid will it provided I''ve cleaned up all the windows and menus?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement