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



The information in this article applies to:

  • Microsoft Windows 2000 Professional
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • the operating system: Microsoft Windows XP 64-Bit Edition

This article was previously published under Q272222

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 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.

Modification Type:MinorLast Reviewed:4/3/2006
Keywords:kbDSWGDI2003Swept kbbug kbGDI kbOpenGL KB272222