diff --git a/drawer_test.go b/drawer_test.go
index a1220b8b4f4779e289e5b6b8039843d650264957..233f510eddd5c48b73b9dfaf8c60bcef6ddddfab 100644
--- a/drawer_test.go
+++ b/drawer_test.go
@@ -1,14 +1,17 @@
 package pixel_test
 
 import (
+	"image"
 	"testing"
 
 	"github.com/faiface/pixel"
 )
 
 func BenchmarkSpriteDrawBatch(b *testing.B) {
-	sprite := pixel.NewSprite(nil, pixel.R(0, 0, 64, 64))
-	batch := pixel.NewBatch(&pixel.TrianglesData{}, nil)
+	img := image.NewRGBA(image.Rect(0, 0, 64, 64))
+	pic := pixel.PictureDataFromImage(img)
+	sprite := pixel.NewSprite(pic, pixel.R(0, 0, 64, 64))
+	batch := pixel.NewBatch(&pixel.TrianglesData{}, pic)
 	for i := 0; i < b.N; i++ {
 		sprite.Draw(batch, pixel.IM)
 	}