image: Remove image.DrawFilledRects (#142)

This commit is contained in:
Hajime Hoshi 2016-02-06 17:47:02 +09:00
parent b5ed0e3d6d
commit 5c8df39496

View File

@ -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()