From: Ben S. <bs...@vr...> - 2002-01-25 04:03:26
|
do you call glutMainLoop() at the end of main(..) to get glut running?? ----- Ben Scott President ISU Game Developers Club Treasurer ISU Ballroom Dance Company bs...@ia... On Thu, 24 Jan 2002, Andres Reinot wrote: > > Now that I've done it as a console app, it compiles, but doesn't do anything but create the default console window with the "press any key" message, and that's it... > > int main(int argc, char** argv) > { > // GLUT Window Initialization: > glutInit (&argc, argv); > glutInitWindowSize (800,600); > glutInitDisplayMode ( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH); > glutCreateWindow ("Andres G L U T"); > > InitGraphics(); > glutDisplayFunc (display); > ... > |