mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
graphics: Fix TestImageCompositeModeLighter
This commit is contained in:
parent
09166a6c42
commit
f92a2748a4
@ -414,10 +414,7 @@ func TestImageCompositeModeLighter(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
return
|
||||
}
|
||||
// Test fails on j = 0 on TravisCI.
|
||||
// https://travis-ci.org/hajimehoshi/ebiten/builds/355973258
|
||||
// Start j with 1 as a temporary hack.
|
||||
for j := 1; j < img1.Bounds().Size().Y; j++ {
|
||||
for j := 0; j < img1.Bounds().Size().Y; j++ {
|
||||
for i := 0; i < img1.Bounds().Size().X; i++ {
|
||||
got := img1.At(i, j).(color.RGBA)
|
||||
want := img0.At(i, j).(color.RGBA)
|
||||
|
Loading…
Reference in New Issue
Block a user