mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-16 06:54:00 +00:00
Bug 433047 - Rendering artifacts in APNG frame. r=joedrew
This commit is contained in:
parent
10fb7f9881
commit
2fdb1a2d73
@ -1624,7 +1624,8 @@ nsresult imgContainer::DoComposite(imgFrame** aFrameToUse,
|
||||
return rv;
|
||||
}
|
||||
needToBlankComposite = PR_TRUE;
|
||||
} else if (aNextFrameIndex == 1) {
|
||||
} else if (aNextFrameIndex != mAnim->lastCompositedFrameIndex+1) {
|
||||
|
||||
// When we are looping the compositing frame needs to be cleared.
|
||||
needToBlankComposite = PR_TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user