Article ID: 272222 - Last Review: January 29, 2007 - Revision: 4.2

BUG: Clipping problems with generic implementation of OpenGL for Windows 2000 or Windows XP

This article was previously published under Q272222
Expand all | Collapse all

SYMPTOMS

When you use generic double-buffered rendering on Microsoft Windows 2000 or Microsoft Windows XP, rendering to a child window can suffer from clipping problems. This also can occur in SDI and MDI applications because these applications render to a child window by default.

The typical behavior is that the right and bottom window borders are not rendered upon (are black) when the window is enlarged beyond its initial size.

RESOLUTION

This behavior does not occur if a hardware-accelerated pixel format is used (on systems that contain hardware acceleration). This behavior occurs only with generic pixel formats (typically on unaccelerated systems).

To work around this problem, render to a DIB (or DIBSection) as demonstrated by the GLDib sample.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
272221  (http://support.microsoft.com/kb/272221/ ) GLDib demonstrates rendering to DIBSections by using OpenGL

STATUS

Microsoft has confirmed this to be a bug in the generic implementation of OpenGL for Windows 2000.

APPLIES TO
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • the operating system: Microsoft Windows XP 64-Bit Edition
Keywords: 
kbbug kbopengl kbgdi kbdswgdi2003swept KB272222
 

Article Translations

 

Related Support Centers