mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
shareable: Add tests
This commit is contained in:
parent
e53fa53f7d
commit
f1927d8aca
@ -104,4 +104,8 @@ func TestEnsureNotShared(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Check further drawing doesn't cause panic.
|
||||
// This bug was fixed by 03dcd948.
|
||||
img4.DrawImage(img3, 0, 0, size/2, size/2, geom, nil, opengl.CompositeModeCopy, graphics.FilterNearest)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user