Created attachment 483052 [details] [diff] [review] Reset layer manager when D3D10 device changes or becomes unavailable We need to handle device removal with the D3D10 layers backend. I've added a patch which does this in a very clean way. I believe this is the right thing to do. Right now UpdateRenderMode does some work it wouldn't need to do if it was called repetitively but I think we can live with that for now, since it's only called once a frame. A follow-up bug should be filed to make it more efficient. This patch will also turn off Direct2D -live- if it is disabled. It will not handle enabling live, but I believe this to be less important. (I should add it looks very clean!)
Attachment #483052 - Flags: review?(roc)
Attachment #483052 - Flags: review?(roc) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.