From 5c8df3949647f542989e936d79794bccd713196d Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 6 Feb 2016 17:47:02 +0900 Subject: [PATCH] image: Remove image.DrawFilledRects (#142) --- image.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/image.go b/image.go index 758d00eb0..15c030b11 100644 --- a/image.go +++ b/image.go @@ -111,15 +111,6 @@ func (i *Image) DrawLines(lines Lines) (err error) { return } -// DrawFilledRects draws filled rectangles on the image. -func (i *Image) DrawFilledRects(rects Rects) (err error) { - i.pixels = nil - useGLContext(func(c *opengl.Context) { - err = i.framebuffer.DrawFilledRects(c, rects) - }) - return -} - // Bounds returns the bounds of the image. func (i *Image) Bounds() image.Rectangle { w, h := i.Size()