mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
ebiten: update a comment
This commit is contained in:
parent
b1bcbbeeea
commit
4a90841a59
2
image.go
2
image.go
@ -810,7 +810,7 @@ func NewImage(width, height int) *Image {
|
||||
//
|
||||
// NewImageFromImage should be called only when necessary.
|
||||
// For example, you should avoid to call NewImageFromImage every Update or Draw call.
|
||||
// Reusing the same image by Clear is much more efficient than creating a new image.
|
||||
// Reusing the same image by Clear and ReplacePixels is much more efficient than creating a new image.
|
||||
//
|
||||
// NewImageFromImage panics if RunGame already finishes.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user