PDA

View Full Version : Help for a beginner



Spudy
03-26-2004, 09:55 AM
Hello everybody. :confused:

I'd like to know how keep the windows when i run.

I work with dev-C++ and with glut on windows, and i success to compile, but when i run, the window stay only 1 seconde.

On linux, the same programm execute and stay!

Did someone understand my problem?

Thanks

Spudy

03-26-2004, 10:21 AM
Remember to enter the GLUT event processing loop - call glutMainLoop() after setting up any callbacks you need.

Spudy
03-26-2004, 10:34 AM
Hello :(

I think what it's not the problem... I have witten

glutMainLoop()

at the right place because it works on linux...

An other idea?

Thanks

Spudy

mikael_aronsson
03-26-2004, 12:29 PM
Hi !

I guess there is some kind of problem with your code, but it is difficult to answer without looking at it, if it is not to big maybe you can post it here.

Mikael