We need to initialize prev when we handle the initial pixel in a rectangle, or we may detect the following pixel as identical or different when it's not. This causes the top-left pixel in a rectangle to occasionally be wrong leaving a trail of "dirty pixels" in the capture.
parent
e0f832b4f0
commit
9c9b3a4b46
Loading…
Reference in new issue