unexpected stupidity

This commit is contained in:
potassium 2024-08-20 10:11:29 +03:00
parent 73d114ef5b
commit e6889deab6

View File

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