Jump to content
  • Advertisement
Sign in to follow this  
BParkoff

Unable to reset device?

This topic is 3263 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

I use CreateOffscreenPlainSurface(), GetBackBuffer(), and StretchRect(). I wrote Render() function. It creates bitmap into surface. Use StretchRect() to copy from surface to backbuffer before Present() displays the backbuffer to the screen. What happen if I press ALT-TAB? The full screen lost the focus when it is now in the windowed screen. I tried to use TestCooperativeLevel() and Reset(). The windowed screen won't switch to the full screen. The entire black rect is still in windowed border. My question is. Do I have to release backbuffer and surface before invokes Reset() and then recreate surface and backbuffer? Correct? Thanks...

Share this post


Link to post
Share on other sites
Advertisement
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!