Jump to content
  • Advertisement
Sign in to follow this  
kinglink

Toggling Full Screen and Windowed mode "crash"

This topic is 4998 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'm working on learning DirectX, and I'm doing a bunch of Tutorials, figuring out how all these things work. I am currently working with the tutorials on this site. triple Buffer(If you care I find them excelent) The 8th tutorial on Font's is my current work, I understand more of the previous but on this one for some reason there's a crash when hitting F12 which resizes the window. I've examined it carefully with the debugger, I get the crash at BOOL CMyApplication::ResetDevice() { if(FAILED(m_pD3DDevice->Reset(&m_d3dpp))) //THIS LINE return FALSE; return TRUE; } But I have no idea, Is there a better or different way to resize the window? All the code is there you can just unzip it run it (or just run the exe) and it should crash. I'm just trying to figure out why it screws up, I don't necessarily need a fix (but it'd be cool)

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!