From cdde1c880311c2ace740319e5dc14ec7dea88566 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Sun, 22 Dec 2013 21:22:41 -0800 Subject: [PATCH] images/resize: remove commented-out code. Accidentally snuck in as part of the giant CL https://camlistore.org/r/1556 Change-Id: I379c613360c4f4c7ca9f3cc67a3b0a570308fa51 --- pkg/images/resize/resize.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/images/resize/resize.go b/pkg/images/resize/resize.go index 31b23d374..f785456b5 100644 --- a/pkg/images/resize/resize.go +++ b/pkg/images/resize/resize.go @@ -355,8 +355,6 @@ func Resample(m image.Image, r image.Rectangle, w, h int) image.Image { for x := 0; x < w; x++ { xSrc := int(float64(r.Min.X) + float64(x)*xStep) ySrc := int(float64(r.Min.Y) + float64(y)*yStep) - //xSrc = r.Min.X + x*r.Dx()/w - //ySrc = r.Min.Y + y*r.Dy()/h r, g, b, a := m.At(xSrc, ySrc).RGBA() img.SetRGBA(x, y, color.RGBA{ R: uint8(r >> 8),