graphics: Remove wrong comments

This commit is contained in:
Hajime Hoshi 2016-05-14 05:34:55 +09:00
parent 576f178971
commit 86e083ddc2

View File

@ -237,9 +237,6 @@ type DrawImageOptions struct {
// NewImage returns an empty image.
//
// NewImage generates a new texture and a new framebuffer.
// Be careful that image objects will never be released
// even though nothing refers the image object and GC works.
// It is because there is no way to define finalizers for Go objects if you use GopherJS.
//
// This function is concurrent-safe.
func NewImage(width, height int, filter Filter) (*Image, error) {
@ -271,9 +268,6 @@ func NewImage(width, height int, filter Filter) (*Image, error) {
// NewImageFromImage creates a new image with the given image (img).
//
// NewImageFromImage generates a new texture and a new framebuffer.
// Be careful that image objects will never be released
// even though nothing refers the image object and GC works.
// It is because there is no way to define finalizers for Go objects if you use GopherJS.
//
// This function is concurrent-safe.
func NewImageFromImage(img image.Image, filter Filter) (*Image, error) {