mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
examples/contextlost: Bug fix: dummyImage must belong to theImages
This commit is contained in:
parent
ae2d863e9c
commit
4d05baf97c
@ -63,6 +63,7 @@ func init() {
|
|||||||
dummyImage = &Image{
|
dummyImage = &Image{
|
||||||
image: graphicscommand.NewImage(16, 16),
|
image: graphicscommand.NewImage(16, 16),
|
||||||
}
|
}
|
||||||
|
theImages.add(dummyImage)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewImage creates an empty image with the given size.
|
// NewImage creates an empty image with the given size.
|
||||||
|
Loading…
Reference in New Issue
Block a user