From d6c0cfe3ad2db8bc317a02a9db7ae39f99d38456 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 21 Oct 2020 11:39:25 +0900 Subject: [PATCH] ebiten: Bug fix: Compile error on the new tests Updates #1399 --- image_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image_test.go b/image_test.go index 09ab8ada4..66e0fb2b9 100644 --- a/image_test.go +++ b/image_test.go @@ -2277,8 +2277,8 @@ func TestImageDrawImageTooSmallScale(t *testing.T) { // Issue #1399 func TestImageDrawImageCannotAllocateImageForMipmap(t *testing.T) { - dst := NewImage(1, 1) - src := NewImage(4096, 4096) + dst, _ := NewImage(1, 1, FilterDefault) + src, _ := NewImage(4096, 4096, FilterDefault) op := &DrawImageOptions{} op.GeoM.Scale(64, 64)