make testing window invisible
This commit is contained in:
parent
552871e324
commit
d5761bda94
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue