mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1067588 - Don't use source clipping if the draw won't resample. r=Bas
This commit is contained in:
parent
a5eb3f65b1
commit
027a4fd1a5
@ -594,6 +594,7 @@ gfxUtils::DrawPixelSnapped(gfxContext* aContext,
|
||||
region.Width(), region.Height());
|
||||
|
||||
if (aRegion.IsRestricted() &&
|
||||
aContext->CurrentMatrix().HasNonIntegerTranslation() &&
|
||||
drawable->DrawWithSamplingRect(aContext, aRegion.Rect(), aRegion.Restriction(),
|
||||
doTile, aFilter, aOpacity)) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user