Toggling Full Screen and Windowed mode "crash"

Started by
-1 comments, last by kinglink 19 years, 2 months ago
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)

This topic is closed to new replies.

Advertisement