From: Kevin M. <ke...@vr...> - 2002-01-25 04:06:43
|
you need glutMainLoop @--@---@---@----@-----@------@------@-----@----@---@---@--@ Kevin Meinert __ _ __ http://www.vrac.iastate.edu/~kevn \ || \| \ / ` Virtual Reality Applications Center \ ||.-'|--\ Howe Hall, Iowa State University, Ames Iowa \|| \| \`__, ----------------------------------------------------------- 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); > ... > |