mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1225649 use CreatePlanarYCbCrImage() now that CreateImage() is gone r=dvander
See 57c5d2b88d26 and 1274f88a8e35.
This commit is contained in:
parent
92c0bb21c8
commit
eb0938a1d0
@ -60,7 +60,7 @@ moz_gfx_memory_reset(MozGfxMemory *mem)
|
||||
mem->image->Release();
|
||||
|
||||
ImageContainer* container = ((MozGfxMemoryAllocator*) mem->memory.allocator)->reader->GetImageContainer();
|
||||
mem->image = reinterpret_cast<PlanarYCbCrImage*>(container->CreateImage(ImageFormat::PLANAR_YCBCR).take());
|
||||
mem->image = container->CreatePlanarYCbCrImage().forget().take();
|
||||
mem->data = mem->image->AllocateAndGetNewBuffer(mem->memory.size);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user