mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
go lint
This commit is contained in:
parent
baf18ba479
commit
df6ebd5a9c
@ -52,7 +52,7 @@ func NewImage(width, height int, filter Filter) (*Image, error) {
|
||||
return currentUI.newImage(width, height, glFilter(filter))
|
||||
}
|
||||
|
||||
// NewImage creates a new image with the given image (img).
|
||||
// NewImageFromImage creates a new image with the given image (img).
|
||||
func NewImageFromImage(img image.Image, filter Filter) (*Image, error) {
|
||||
return currentUI.newImageFromImage(img, glFilter(filter))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user