mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-22 16:00:09 +01:00
parent
dcdd1f287a
commit
d6c0cfe3ad
@ -2277,8 +2277,8 @@ func TestImageDrawImageTooSmallScale(t *testing.T) {
|
|||||||
|
|
||||||
// Issue #1399
|
// Issue #1399
|
||||||
func TestImageDrawImageCannotAllocateImageForMipmap(t *testing.T) {
|
func TestImageDrawImageCannotAllocateImageForMipmap(t *testing.T) {
|
||||||
dst := NewImage(1, 1)
|
dst, _ := NewImage(1, 1, FilterDefault)
|
||||||
src := NewImage(4096, 4096)
|
src, _ := NewImage(4096, 4096, FilterDefault)
|
||||||
|
|
||||||
op := &DrawImageOptions{}
|
op := &DrawImageOptions{}
|
||||||
op.GeoM.Scale(64, 64)
|
op.GeoM.Scale(64, 64)
|
||||||
|
Loading…
Reference in New Issue
Block a user