mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: Bug fix: Fix the test error at DrawTriangles
This commit is contained in:
parent
2dadc6a7a9
commit
0892ffa4b2
@ -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++ {
|
||||
|
Loading…
Reference in New Issue
Block a user