graphics: Fix TestImageCompositeModeLighter

This commit is contained in:
Hajime Hoshi 2018-03-21 03:42:58 +09:00
parent 09166a6c42
commit f92a2748a4

View File

@ -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)