mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +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{
|
||||
image: graphicscommand.NewImage(16, 16),
|
||||
}
|
||||
theImages.add(dummyImage)
|
||||
}
|
||||
|
||||
// NewImage creates an empty image with the given size.
|
||||
|
Loading…
Reference in New Issue
Block a user