mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
Bug 1067588 - Don't use source clipping if the draw won't resample. r=Bas
This commit is contained in:
parent
f83a8d78dc
commit
17d41ed59f
@ -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