Skip to content

Commit

Permalink
ebiten: Bug fix: Compile error on the new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Oct 21, 2020
1 parent dcdd1f2 commit d6c0cfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d6c0cfe

Please sign in to comment.