From 86e083ddc2866e995bbc366b826a58f373698e47 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 14 May 2016 05:34:55 +0900 Subject: [PATCH] graphics: Remove wrong comments --- image.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/image.go b/image.go index 4697defef..909168159 100644 --- a/image.go +++ b/image.go @@ -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) {