I'm new to openGL/GLUT/GLUI so please bear with me.
I'm writing a simple openGL program with a GLUI subwindow containing a button. The buttons callback function creates a new GLUI window with a EditText box (simple open file dialog w/o filebrowsing). And finally the EditText box's CB closes the (new) window, but it also causes a GL_INVALID_OPERATION.
I have an animation running in the main GL window.
Can any1 tell me what I'm doing wrong or if I have discovered a bug in GLUI?
I'm trying to write the program as platform independent as possible, but right now I writing/testing on WinXP with cygwin/gcc.
AFAIK I'm using the newest versions of GL/GLUT/GLUI (1.3.1 / 3.7.2 / 2.01).
Let me know and I'll post any other info that might be helpfull.