From e6889deab662c56046955e5297c574885da6b1e7 Mon Sep 17 00:00:00 2001 From: potassium Date: Tue, 20 Aug 2024 10:11:29 +0300 Subject: [PATCH] unexpected stupidity --- scale.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/scale.go b/scale.go index a9087c1..7c6039e 100644 --- a/scale.go +++ b/scale.go @@ -10,8 +10,6 @@ type rescaled struct { scale int } -func Render( - // ColorModel implements image.Image interface func (r rescaled) ColorModel() color.Model { return r.src.ColorModel() @@ -45,5 +43,4 @@ func Scale(img image.Image, scale int) image.Image { scale = 1 } return rescaled{img, scale} -1 }