Help and Support
 

powered byLive Search

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

Article ID:272222
Last Review:January 29, 2007
Revision:4.2
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.

Back to the top

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

Back to the top

STATUS

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

Back to the top


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

Back to the top

Keywords: 
kbbug kbopengl kbgdi kbdswgdi2003swept KB272222

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.