Guest mutant Posted March 25, 2003 Posted March 25, 2003 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! Quote
*Gurus* divil Posted March 25, 2003 *Gurus* Posted March 25, 2003 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. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.