mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1238755 - Use Skia for BasicCompositor composition on Mac. r=mattwoodrow
This commit is contained in:
parent
d15ad538e6
commit
9bf055258b
@ -2943,7 +2943,7 @@ RectTextureImage::BeginUpdate(const LayoutDeviceIntSize& aNewSize,
|
||||
int32_t stride = size.width * gfx::BytesPerPixel(format);
|
||||
mUpdateDrawTargetData = MakeUnique<unsigned char[]>(stride * size.height);
|
||||
mUpdateDrawTarget =
|
||||
gfx::Factory::CreateDrawTargetForData(gfx::BackendType::COREGRAPHICS,
|
||||
gfx::Factory::CreateDrawTargetForData(gfx::BackendType::SKIA,
|
||||
mUpdateDrawTargetData.get(), size,
|
||||
stride, format);
|
||||
mBufferSize = neededBufferSize;
|
||||
|
Loading…
Reference in New Issue
Block a user