I have a problem with my project. If I activate glutIdleFunc() after several minutes I have a bad performance problem, slow framerate and I need to forced exit from the program.
I tried with a very simple idle func but I have always the same problem: