mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebitenutil: Remove the error returning value from DebugPrint
Fixes #1380
This commit is contained in:
parent
1b816eb249
commit
1c13e73b06
@ -29,11 +29,8 @@ var (
|
||||
// DebugPrint draws the string str on the image on left top corner.
|
||||
//
|
||||
// The available runes are in U+0000 to U+00FF, which is C0 Controls and Basic Latin and C1 Controls and Latin-1 Supplement.
|
||||
//
|
||||
// DebugPrint always returns nil as of 1.5.0-alpha.
|
||||
func DebugPrint(image *ebiten.Image, str string) error {
|
||||
func DebugPrint(image *ebiten.Image, str string) {
|
||||
DebugPrintAt(image, str, 0, 0)
|
||||
return nil
|
||||
}
|
||||
|
||||
// DebugPrintAt draws the string str on the image at (x, y) position.
|
||||
|
Loading…
Reference in New Issue
Block a user