mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1083624 - Fix assertion failure in Factory::GetDirect3D10Device(). r=bas.
--HG-- extra : rebase_source : e28b1575b8bd4706d7d203696a1280c76e103ef6
This commit is contained in:
parent
012dfb0c0a
commit
99692aa836
@ -548,11 +548,12 @@ Factory::SetDirect3D10Device(ID3D10Device1 *aDevice)
|
||||
|
||||
ID3D10Device1*
|
||||
Factory::GetDirect3D10Device()
|
||||
|
||||
{
|
||||
#ifdef DEBUG
|
||||
UINT mode = mD3D10Device->GetExceptionMode();
|
||||
MOZ_ASSERT(0 == mode);
|
||||
if (mD3D10Device) {
|
||||
UINT mode = mD3D10Device->GetExceptionMode();
|
||||
MOZ_ASSERT(0 == mode);
|
||||
}
|
||||
#endif
|
||||
return mD3D10Device;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user