03-11-2001, 06:38 AM
I’m new to OpenGL, quite new to MFC and am trying to write an OpenGL base class similar to the one described by Ron Fosner (Programming for Windows 95 and Windows NT). However, I have ‘discovered’ the clipping bug that afflicts the generic implementation of OpenGL for Windows 2000. The solution to this problem according to MS is to first render to a DIBSection then blt this to the window. The GLDib sample looks difficult to adapt to my MFC code. Does anyone have a better solution?