(SlimDX)DirectX debug runtime problem

Started by
1 comment, last by nuvem 14 years, 11 months ago
Whenever I maximize my game window, I get an error when I try to reset the device. I tried turning on the debug runtime to recreate the error and see what the console spits out but when I maximize the game, the application just freezes. No error. Nothing. I don't know if I must have set something wrong in the DirectX Control Panel or maybe I didn't install the SDK right. Please Help EDIT: Oh yeah. I forget to say that I am using SlimDX and C#.
J.W.
Advertisement
Anyone want to help me?
J.W.
Is the debug runtime working? Are you getting anything from it in the log?

If not, device reset errors are usually pretty easy to catch. Just make sure to release all D3DPOOL_DEFAULT resources before the reset, and recreate them after. Most of the time this will be everything but dynamic VBs and render targets.

Also, make sure you're not looping on the device failure without at least calling Application.DoEvents or dropping back out to let the message pump do its thing.

This topic is closed to new replies.

Advertisement