examples/contextlost: Bug fix: dummyImage must belong to theImages

This commit is contained in:
Hajime Hoshi 2019-01-21 00:11:34 +09:00
parent ae2d863e9c
commit 4d05baf97c

View File

@ -63,6 +63,7 @@ func init() {
dummyImage = &Image{
image: graphicscommand.NewImage(16, 16),
}
theImages.add(dummyImage)
}
// NewImage creates an empty image with the given size.