mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 934886 - Fix incorrect color format of GetThebesSurfaceForDrawTarget when use SKIA as backend. r=gw280
This commit is contained in:
parent
bc173696b3
commit
01c98328c7
@ -938,7 +938,7 @@ gfxPlatform::GetThebesSurfaceForDrawTarget(DrawTarget *aTarget)
|
||||
}
|
||||
|
||||
IntSize size = data->GetSize();
|
||||
gfxImageFormat format = OptimalFormatForContent(ContentForFormat(data->GetFormat()));
|
||||
gfxImageFormat format = SurfaceFormatToImageFormat(data->GetFormat());
|
||||
|
||||
|
||||
nsRefPtr<gfxASurface> surf =
|
||||
|
Loading…
Reference in New Issue
Block a user