GLUT + Input = crash ??


whenever I use the keyboard or mouse or reshape function in my glut-windowed app, the app crashes. It first does the thing in the keyboard handling function, but when jumping out of this function my program always crashes.

Any idea how this might be solved ??


Can you post some code? That may help us out more.