Jump to content
  • Advertisement
Sign in to follow this  
yuhaobo

using VMR9 custom allocator how to toggle to fullscreen?

This topic is 4888 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 am using VMR9 custom allocator, my program will retrieve the video texture to display and it runs fine. However, now i want to enable toggling btw windowed and fullscreen. After the usual InvalidateDeviceObjects stuff, i called pd3dDevice->Reset() but that fails with a D3DERR_INVALIDCALL. Anybody has ideas how i could do a safe toggle. PS. the program can both in windowed and fullscreen mode fine. It's just that i cannot toggle during runtime.

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!