From 5ff2b8697fdec13a33cf1888acd0ae1e5ba8c055 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 17 Jan 2015 15:01:04 +0900 Subject: [PATCH] Bug fix: comment --- image.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image.go b/image.go index 2d4cb15a0..8bb6db065 100644 --- a/image.go +++ b/image.go @@ -108,12 +108,12 @@ func (i *Image) DrawLines(lines Lines) (err error) { return } -// DrawRect draws a rectangle. +// FillRect draws a filled rectangle. func (i *Image) FillRect(x, y, width, height int, clr color.Color) error { return i.FillRects(&rect{x, y, width, height, clr}) } -// DrawRects draws rectangles on the image. +// FillRects draws filled rectangles on the image. func (i *Image) FillRects(rects Rects) (err error) { ui.Use(func(c *opengl.Context) { err = i.framebuffer.FillRects(c, rects)