First off, I must say this site is awsome. I love the new BB format! Now, on to the problem:
Ok, I have this program I orignially wrote on a SunOS machine which opens two windows and renders to both of them - each window has its own display, mouse_motion, and reshape callbacks.
Well, I tried to port the thing to Win98 (as I have many other SunOS programs I wrote) and the program runs well except it never calls the second windows display function. It will call the second window’s mouse_motion function, but glutPostRedisplay() simply doesn’t work on the second window. The glutPostRedisplay() call is made, but the program never enters the second windows display callback. The original window works fine. I can manually call the second window’s display function, and it draws, but as you know this kind of thing causes problems, and I’d rather have the program working as it was ment to…
Do I need to grab hold of a windows device context or something? I found that the create window calls are returning valid integer ID’s, so I don’t think a device context is the answer. Ah well, any help would be greatly appreciated…