mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
graphics: Add comments
This commit is contained in:
parent
48408cba11
commit
dbe5c9c0ab
@ -210,6 +210,7 @@ func TestImageComposition(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestImageSelf(t *testing.T) {
|
||||
// Note that mutex usages: without defer, unlocking is not called when panicing.
|
||||
defer func() {
|
||||
if r := recover(); r == nil {
|
||||
t.Errorf("DrawImage must panic but not")
|
||||
|
Loading…
Reference in New Issue
Block a user