From 9d25a5f785972dc8295249903a9912498719a7e1 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 bfe53d2a8..8f370d91b 100644 --- a/image.go +++ b/image.go @@ -302,9 +302,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) { @@ -344,9 +341,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) {