From: smartgags <sma...@gm...> - 2007-11-26 07:26:00
|
Hi All, I wish to use glutMainLoopEvent() in my program. I can't figure out how to use it. The program runs perfectly when I write glutMainLoop() instead of glutMainLoopEvent(). But when I replace glutMainLoop() with glutMainLoopEvent(), it gives me the following error:- freeglut ERROR: Function <glutMainLoopEvent> called without first calling 'glutInit'. I made a call to glutInit(&argc,argv); also. But it still gives me the error. I have frantically and unsuccessfully searched for any sample program that contains glutMainEventLoop(). Please help. Best, Gargi -- View this message in context: http://www.nabble.com/Using-glutMainLoopEvent%28%29-tf4873468.html#a13944969 Sent from the freeglut-developer mailing list archive at Nabble.com. |