View Full Version : problems with PFD_SUPPORT_OPENGL & PFD_DOUBLEBUFFER

12-16-2004, 12:39 AM
Hi, I wonder if anyone can help with this problem I'm having with an MFC SDI application that I am trying to deploy...

1. Laptop with ATI Radeon with PFD_SUPPORT_OPENGL and PFD_DOUBLEBUFFER, everything is fine.

2. Same laptop with PFD_SUPPORT_OPENGL only selected, complete system crash ensues.

3. Laptop with VIA S3 chipset and PFD_SUPPORT_OPENGL and PFD_DOUBLEBUFFER selected, we have the bug where the MFC child window fails to get its WM_PAINT messages. Although the first GL window paints ok all of the time.

4. VIA S3 Laptop with PFD_SUPPORT_OPENGL only selected, painting and MFC messaging is fine, but obviously slow.

Other info. The SDI app uses the CS_OWNDC style for the GL windows, and uses a single RC with multiple DC's, one for each GL child.

Am I right that there is no consequnce of calling SwapBuffers() if double buffering is disabled?

Any help greatly appreciated.