mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 596494 - Part 3: Update rendermode upon deviceremoval. r=jrmuizel
This commit is contained in:
parent
219f069673
commit
266542dc32
@ -752,6 +752,9 @@ DDRAW_FAILED:
|
||||
result = DispatchWindowEvent(&event, eventStatus);
|
||||
if (layerManagerD3D9->DeviceWasRemoved()) {
|
||||
mLayerManager = nsnull;
|
||||
// When our device was removed, we should have gfxWindowsPlatform
|
||||
// check if its render mode is up to date!
|
||||
gfxWindowsPlatform::GetPlatform()->UpdateRenderMode();
|
||||
Invalidate(PR_FALSE);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user