Jump to content
  • Advertisement
Sign in to follow this  
firstelder_d

Game resolution bigger than monitor resolution causes corruption

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

Hi,

I have a bug when changing the resolution in windowed mode. If I set the monitor resolution smaller than the game resolution the graphics are distorted and corrupted. For example, if I set the monitor resolution to 800x600 and the game resolution to 1280x800 windowed. The monitor and video card can do 1280x800. The debug output doesn't show anything, but I'm getting D3DERR_INVALIDCALL from Clear and DrawIndexedPrimitive. Any thoughts on what this might be?

Thanks

Share this post


Link to post
Share on other sites
Advertisement
Are you resizing while the game is running?

Sounds like device lost/resize issue when not releasing and reallocating unmanaged resources.

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!