unexpected stupidity
This commit is contained in:
parent
73d114ef5b
commit
e6889deab6
3
scale.go
3
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user