mcsellski
12-01-2004, 12:48 AM
Hi,
I have an MFC SDI application that has a couple or three OpenGL windows. On some platforms all windows display normally, on others only one GL window displays. Can someone tell me what I need to be looking at to work out what might be causing this?
More info:
1. I have once HGLRC and call wglmakeCurrent etc when I want to invalidate a different GL window.
2. I use the CS_OWNDC window style
3. I have an option to copy the window to the clipboard that uses glReadPixels(). When I paste the apparently blank window to MS Paint, lo and behold, the window appears as if it had displayed correctly.
If anyone can give me a few useful pointers about how to trace the problem as to why not all of the GL windows display themselves on some platforms I would be very grateful.
I'm guessing that this problem might be card related as some XP systems are fine while others have this problem. Win2k is also a target platform but not a priority.
Many thanks
Matthew
I have an MFC SDI application that has a couple or three OpenGL windows. On some platforms all windows display normally, on others only one GL window displays. Can someone tell me what I need to be looking at to work out what might be causing this?
More info:
1. I have once HGLRC and call wglmakeCurrent etc when I want to invalidate a different GL window.
2. I use the CS_OWNDC window style
3. I have an option to copy the window to the clipboard that uses glReadPixels(). When I paste the apparently blank window to MS Paint, lo and behold, the window appears as if it had displayed correctly.
If anyone can give me a few useful pointers about how to trace the problem as to why not all of the GL windows display themselves on some platforms I would be very grateful.
I'm guessing that this problem might be card related as some XP systems are fine while others have this problem. Win2k is also a target platform but not a priority.
Many thanks
Matthew