Hello. I am writing a multithread app that use OpenGL(and GLUT) to draw to windows. Each thread has its own window to draw to, but sometimes the app crashes, sometimes it draw in wrong window, do some other bizarre things, but sometimes work fine. Is it a bad idea to use OpenGL in this kind of program? or is there any Right Way to do it?
I am using MS VC++ version 6 on win2000.
Thanks for any help.
vachi