mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 02:47:07 +00:00
Backout 54d4d88b2f2f from Bug 1172014 which was causing Bug 1176548
This commit is contained in:
parent
5e4b47c68e
commit
ba3f7d7a8d
@ -360,6 +360,7 @@ TextureClient::CreateForDrawing(ISurfaceAllocator* aAllocator,
|
||||
}
|
||||
|
||||
if (!texture && aFormat == SurfaceFormat::B8G8R8X8 &&
|
||||
aAllocator->IsSameProcess() &&
|
||||
aMoz2DBackend == gfx::BackendType::CAIRO) {
|
||||
if (aAllocator->IsSameProcess()) {
|
||||
texture = new TextureClientMemoryDIB(aAllocator, aFormat, aTextureFlags);
|
||||
|
Loading…
x
Reference in New Issue
Block a user