Re: How to Imlement DeviceReset (Light is Lost on Window Resize)
- From: "ZMan" <zman@xxxxxxxxxxxxxx>
- Date: Wed, 21 Mar 2007 12:11:01 -0700
If you take a look at code attached you would see that graphics initialization is very simple. All other resources are created inside paint method and thus are recreated every time. Here is all I do to initialize graphics:
In general people do not have time to open up projects and debug them for people. Running random code on our machines is a potential nightmare.
Take a look at the tutorials 1-5 in the SDK. They draw simple triangles and shapes and handle Device Reset properly. What do they do differently.
.
- Follow-Ups:
- References:
- How to Imlement DeviceReset (Light is Lost on Window Resize)
- From: bazad
- Re: How to Imlement DeviceReset (Light is Lost on Window Resize)
- From: Richard [Microsoft Direct3D MVP]
- Re: How to Imlement DeviceReset (Light is Lost on Window Resize)
- From: bazad
- How to Imlement DeviceReset (Light is Lost on Window Resize)
- Prev by Date: Re: How to Imlement DeviceReset (Light is Lost on Window Resize)
- Next by Date: Re: How to Imlement DeviceReset (Light is Lost on Window Resize)
- Previous by thread: Re: How to Imlement DeviceReset (Light is Lost on Window Resize)
- Next by thread: Re: How to Imlement DeviceReset (Light is Lost on Window Resize)
- Index(es):