Handling a lost device error

Started by
2 comments, last by perfectly_dark 21 years, 4 months ago
Im trying to get my program to switch Video Modes on the fly (eg. Switching Resolution, fullscreen/windowed, etc). I use the Reset method of the Direct3d Device by calling m_device->Reset() but everytime I do I lose the device. I heard from another post that I have to handle the lost device, anyone know how?
Advertisement
you release and recreate all default-pool device objects (that includes stateblocks and shaders).
So things like vertex buffers and textures?
yes, if you put them in default pool.

This topic is closed to new replies.

Advertisement