Microsoft KB Archive/272222

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

Article ID: 272222

Article Last Modified on 1/29/2007

-

APPLIES TO


 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional
 * Microsoft Windows XP Professional for Itanium-based systems

-



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.

Keywords: kbdswgdi2003swept kbbug kbgdi kbopengl KB272222

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.