Device lost error

  • Thread starter Thread starter mutant
  • Start date Start date
M

mutant

Guest
Hi.
When I minimize my DX app to do something else and then try to maximize it again I get an error that the device is lost. Anyone had this error before? I dont know how to solve this.
Thanks!
 
Check out the DirectX 9 samples - they implement a RecreateSurfaces method (or similar, I'm working purely from memory here). You need to check if your surfaces have been lost on every loop and if so, recreate them. Looking at the samples should help.
 
Back
Top