Jump to content
  • Advertisement
Sign in to follow this  

Unable to reset device?

This topic is 3354 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
Sign in to follow this  

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!