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 <crawshaw@golang.org>
This commit is contained in:
Nigel Tao 2015-07-28 16:31:46 +10:00
Родитель b780379135
Коммит 723de9f813
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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,
})
}