mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
graphics: Remove wrong comments
This commit is contained in:
parent
576f178971
commit
86e083ddc2
6
image.go
6
image.go
@ -237,9 +237,6 @@ type DrawImageOptions struct {
|
|||||||
// NewImage returns an empty image.
|
// NewImage returns an empty image.
|
||||||
//
|
//
|
||||||
// NewImage generates a new texture and a new framebuffer.
|
// 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.
|
// This function is concurrent-safe.
|
||||||
func NewImage(width, height int, filter Filter) (*Image, error) {
|
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 creates a new image with the given image (img).
|
||||||
//
|
//
|
||||||
// NewImageFromImage generates a new texture and a new framebuffer.
|
// 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.
|
// This function is concurrent-safe.
|
||||||
func NewImageFromImage(img image.Image, filter Filter) (*Image, error) {
|
func NewImageFromImage(img image.Image, filter Filter) (*Image, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user