Jump to content
  • Advertisement
Sign in to follow this  
gallicox

WS_EX_COMPOSITED

This topic is 5086 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! I developed an application using C# and Colin Fahey OpenGL Wrapper. This application was designed to work only on Windows XP and somebody suggested me to use WS_EX_COMPOSITED Windows style. Everything seems to run perfectly but on some computers (with XP) the applications seems to crash and the video go black, and you need to reboot. Simply removing WS_EX_COMPOSITED my program runs normally. I could simply release my program without it, but I'd like to know the reasons for this strange behaviour. Can anyone help me? Thanks

Share this post


Link to post
Share on other sites
Advertisement
As far as I am aware all WS_EX_COMPOSITED does is provides automitic double buffering for GDI+ and enables you to have an alpha component for your window. How is this useful to you for an OpenGL app where you are explicitly repainting the whole window by yourself?

Do the machines it fails on have WinXP SP2 and the latest video card drivers (the later alomst certainly being the problem)?

Alan

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!