make testing window invisible

This commit is contained in:
Anten Skrabec 2021-06-22 15:24:08 -06:00
parent 552871e324
commit d5761bda94
1 changed files with 3 additions and 2 deletions

View File

@ -54,8 +54,9 @@ func TestSprite_Draw(t *testing.T) {
sprite := pixel.NewSprite(pic, pic.Bounds()) sprite := pixel.NewSprite(pic, pic.Bounds())
cfg := pixelgl.WindowConfig{ cfg := pixelgl.WindowConfig{
Title: "testing", Title: "testing",
Bounds: pixel.R(0, 0, 150, 150), Bounds: pixel.R(0, 0, 150, 150),
Invisible: true,
} }
win, err := pixelgl.NewWindow(cfg) win, err := pixelgl.NewWindow(cfg)