Youpiiiiiiiiiiiiiiiiiiiiiiiiiiiie! That work as I want!!!! Thx everybody ;) The problem was that I launched the glut main loop into a thread, and then it was separated from his initialisations functions I put it into another method and launch that method into a thread...! That work!