mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +01:00
ebiten: Bug fix: Test compile error
This commit is contained in:
parent
39dc58658f
commit
65c2fd4bcd
@ -2329,7 +2329,7 @@ func TestImageEvenOdd(t *testing.T) {
|
|||||||
// Draw all the vertices once. The even-odd rule is applied for all the vertices once.
|
// Draw all the vertices once. The even-odd rule is applied for all the vertices once.
|
||||||
dst := NewImage(16, 16)
|
dst := NewImage(16, 16)
|
||||||
op := &DrawTrianglesOptions{
|
op := &DrawTrianglesOptions{
|
||||||
EvenOdd: true,
|
FillRule: EvenOdd,
|
||||||
}
|
}
|
||||||
dst.DrawTriangles(append(append(vs0, vs1...), vs2...), append(append(is0, is1...), is2...), emptySubImage, op)
|
dst.DrawTriangles(append(append(vs0, vs1...), vs2...), append(append(is0, is1...), is2...), emptySubImage, op)
|
||||||
for j := 0; j < 16; j++ {
|
for j := 0; j < 16; j++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user