Fix direction for Y iteration on CPU path
For some reason the JavaScript engine insists on running the code instead of doing what the comment says. I guess they should match.
This commit is contained in:
parent
1db67a474e
commit
8bd6241160
@ -747,7 +747,7 @@ class RenderWebGL extends EventEmitter {
|
||||
return this._isTouchingColorGpuFin(bounds, color3b, y);
|
||||
}
|
||||
for (let x = 0; x < bounds.width; ++x) {
|
||||
point[1] = bounds.top + y; // bounds.top <= y < bounds.bottom ("flipped")
|
||||
point[1] = bounds.top - y; // bounds.top <= y < bounds.bottom ("flipped")
|
||||
point[0] = bounds.left + x; // bounds.left <= x < bounds.right
|
||||
// if we use a mask, check our sample color...
|
||||
if (hasMask ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user