diff --git a/examples/sprites/main.go b/examples/sprites/main.go index 83a89e20d..e693dcf75 100644 --- a/examples/sprites/main.go +++ b/examples/sprites/main.go @@ -131,7 +131,9 @@ func update(screen *ebiten.Image) error { msg := fmt.Sprintf(`FPS: %0.2f Num of sprites: %d Press <- or -> to change the number of sprites`, ebiten.CurrentFPS(), sprites.Len()) - ebitenutil.DebugPrint(screen, msg) + if err := ebitenutil.DebugPrint(screen, msg); err != nil { + return err + } return nil } diff --git a/pixels.go b/pixels.go index b294ebca5..e6d86f15f 100644 --- a/pixels.go +++ b/pixels.go @@ -1,4 +1,4 @@ -// Copyright 2016 Hajime Hoshi +// Copyright 2016 The Ebiten Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.