Hello,
I made a simple program which open an OpenGL window and draw some shapes inside.
I can quit my application by pressing ‘echap’ key or by clicking on the little cross on the top left hand corner of my window.
If I press ‘echap’, all is OK.
If I click on the cross, 2 lines are written in my console:
Vertex3f: 1
Normal3f: 1
I just don’t know why !!!
Can somebody tell me why ?
(I’ve got a Linux OS)
in linux there are functions (atexit, on_exit) with which you can register own functions which are called when you exit the program. maybe glut registers a function which gives the output to the console. you can check this by adding