ebitenutil: Fix a comment

This commit is contained in:
Hajime Hoshi 2016-06-25 03:43:03 +09:00
parent e30ef050f2
commit 134722f8f7

View File

@ -27,7 +27,7 @@ import (
// NewImageFromFile loads the file path and returns ebiten.Image and image.Image.
//
// The current directory for path depends on your environment. This will vary on your desktop or web browser.
// Note that this doesn't work on browsers.
// Note that this doesn't work on mobiles.
// It'll be safer to embed your resource, e.g., with github.com/jteeuwen/go-bindata instead of using this function.
func NewImageFromFile(path string, filter ebiten.Filter) (*ebiten.Image, image.Image, error) {
file, err := OpenFile(path)