mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout 54d4d88b2f2f from Bug 1172014 which was causing Bug 1176548
This commit is contained in:
parent
e87639d412
commit
e65b494176
@ -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…
Reference in New Issue
Block a user