ebiten: Bug fix: Fix the test error at DrawTriangles

This commit is contained in:
Hajime Hoshi 2020-10-05 00:30:10 +09:00
parent 2dadc6a7a9
commit 0892ffa4b2

View File

@ -1676,6 +1676,7 @@ func TestImageDrawTrianglesWithSubImage(t *testing.T) {
}
is := []uint16{0, 1, 2, 1, 2, 3}
op := &DrawTrianglesOptions{}
op.Address = AddressClampToZero
dst.DrawTriangles(vs, is, src.SubImage(image.Rect(4, 4, 8, 8)).(*Image), op)
for j := 0; j < h; j++ {