Commit 38e971c
Lars Storjord
Fix getPixel for pixels with zero red value.
Remove an erroneous if that causes getPixel() to fail if the red value
of the pixel is zero.
Fixes phaserjs#881.1 parent 7d436a7 commit 38e971c
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
696 | 693 | | |
697 | 694 | | |
698 | 695 | | |
| |||
0 commit comments