From 723de9f81359b4dbc1bb43d8805f774b6517c9f3 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Tue, 28 Jul 2015 16:31:46 +1000 Subject: [PATCH] exp/sprite/portable: update for x/image/draw API change. The API change is http://golang.org/cl/12669 Change-Id: Ia34bb2efae808c45e9c0cfd4d3f510fdad549444 Reviewed-on: https://go-review.googlesource.com/12774 Reviewed-by: David Crawshaw --- exp/sprite/portable/portable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exp/sprite/portable/portable.go b/exp/sprite/portable/portable.go index df6c9a0..7d8c247 100644 --- a/exp/sprite/portable/portable.go +++ b/exp/sprite/portable/portable.go @@ -185,7 +185,7 @@ func affine(dst *image.RGBA, src image.Image, srcb image.Rectangle, mask image.I // TODO(nigeltao): is the caller or callee responsible for detecting // transforms that are simple copies or scales, for which there are faster // implementations in the xdraw package. - xdraw.ApproxBiLinear.Transform(dst, &m, src, srcb, xdraw.Op(op), &xdraw.Options{ + xdraw.ApproxBiLinear.Transform(dst, m, src, srcb, xdraw.Op(op), &xdraw.Options{ SrcMask: mask, }) }