From f6e1ada0f2bffb80ca79a5585b290697224f0fd2 Mon Sep 17 00:00:00 2001 From: Laurent Le Goff Date: Thu, 30 Apr 2015 16:30:50 +0200 Subject: [PATCH] Fix bug --- draw2dimg/drawer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draw2dimg/drawer.go b/draw2dimg/drawer.go index a2a8b25..7e06b4c 100644 --- a/draw2dimg/drawer.go +++ b/draw2dimg/drawer.go @@ -31,7 +31,7 @@ func NewDrawer(img *image.RGBA) *Drawer { } func (d *Drawer) Matrix() *draw2d.Matrix { - return d.Matrix() + return &d.matrix } func (d *Drawer) Fill(path *draw2d.Path, style draw2d.FillStyle) {