Original Post
The very last thing you must do is call glutMainLoop(void). All windows that have been created are now shown, and rendering to those windows is now effective. Event processing begins, and the registered display callback is triggered. Once this loop is entered, it is never exited! (http://www.glprogramming.com/red/chapter01.html) Is this true? When I run my program, it gets to glutMainLoop() and then it stops running and says The program '[4144] practice.exe: Native' has exited with code 1 (0x1). Does anyone know why that could be a case? Tad