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

@ -56,6 +56,7 @@ func TestSprite_Draw(t *testing.T) {
cfg := pixelgl.WindowConfig{
Title: "testing",
Bounds: pixel.R(0, 0, 150, 150),
Invisible: true,
}
win, err := pixelgl.NewWindow(cfg)