mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 756606. Fix an assert in the d3d11 compositor. r=bas
This commit is contained in:
parent
3a03c241e5
commit
8bdc76e167
@ -299,7 +299,8 @@ TextureHostShmemD3D11::UpdateImpl(const SurfaceDescriptor& aImage,
|
||||
nsIntRegion *aRegion,
|
||||
nsIntPoint *aOffset)
|
||||
{
|
||||
MOZ_ASSERT(aImage.type() == SurfaceDescriptor::TShmem);
|
||||
MOZ_ASSERT(aImage.type() == SurfaceDescriptor::TShmem ||
|
||||
aImage.type() == SurfaceDescriptor::TMemoryImage);
|
||||
|
||||
AutoOpenSurface openSurf(OPEN_READ_ONLY, aImage);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user