mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 03:02:49 +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.
|
// 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.
|
// The available runes are in U+0000 to U+00FF, which is C0 Controls and Basic Latin and C1 Controls and Latin-1 Supplement.
|
||||||
//
|
func DebugPrint(image *ebiten.Image, str string) {
|
||||||
// DebugPrint always returns nil as of 1.5.0-alpha.
|
|
||||||
func DebugPrint(image *ebiten.Image, str string) error {
|
|
||||||
DebugPrintAt(image, str, 0, 0)
|
DebugPrintAt(image, str, 0, 0)
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// DebugPrintAt draws the string str on the image at (x, y) position.
|
// DebugPrintAt draws the string str on the image at (x, y) position.
|
||||||
|
Loading…
Reference in New Issue
Block a user