ebiten: update a comment

This commit is contained in:
Hajime Hoshi 2022-04-28 11:14:36 +09:00
parent b1bcbbeeea
commit 4a90841a59

View File

@ -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.
//