From ebffaeba3d0c5f62eb8c177478da60485c3de435 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 9 Nov 2018 01:08:32 +0900 Subject: [PATCH] examples/minify: Better clipping --- examples/minify/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/minify/main.go b/examples/minify/main.go index d6804f225..16f370f2d 100644 --- a/examples/minify/main.go +++ b/examples/minify/main.go @@ -69,7 +69,7 @@ Press C to clip the images. Scale: %0.2f`, s) ebitenutil.DebugPrint(screen, msg) - clippedGophersImage := gophersImage.SubImage(image.Rect(10, 10, 100, 100)).(*ebiten.Image) + clippedGophersImage := gophersImage.SubImage(image.Rect(100, 100, 200, 200)).(*ebiten.Image) for i, f := range []ebiten.Filter{ebiten.FilterNearest, ebiten.FilterLinear} { w, h := gophersImage.Size()