From df6ebd5a9ce2e74c00530d9f50e4a3ca3ff90bf6 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 22 Dec 2014 11:20:14 +0900 Subject: [PATCH] go lint --- gamecontext.go | 2 +- image.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gamecontext.go b/gamecontext.go index 1abd61dd5..4f904b79d 100644 --- a/gamecontext.go +++ b/gamecontext.go @@ -52,7 +52,7 @@ func NewImage(width, height int, filter Filter) (*Image, error) { return currentUI.newImage(width, height, glFilter(filter)) } -// NewImage creates a new image with the given image (img). +// NewImageFromImage creates a new image with the given image (img). func NewImageFromImage(img image.Image, filter Filter) (*Image, error) { return currentUI.newImageFromImage(img, glFilter(filter)) } diff --git a/image.go b/image.go index e48809f6b..3a71a7093 100644 --- a/image.go +++ b/image.go @@ -100,7 +100,7 @@ type syncer interface { Sync(func()) } -// An image represents an image. +// Image represents an image. // The pixel format is non alpha-premultiplied. type Image struct { syncer syncer