mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
parent
e66bac5c3f
commit
34562c3337
@ -649,6 +649,7 @@ func (i *Image) Dispose() {
|
|||||||
i.image.Dispose()
|
i.image.Dispose()
|
||||||
i.image = nil
|
i.image = nil
|
||||||
i.basePixels = Pixels{}
|
i.basePixels = Pixels{}
|
||||||
|
i.pixelsForRestore = nil
|
||||||
i.clearDrawTrianglesHistory()
|
i.clearDrawTrianglesHistory()
|
||||||
i.stale = false
|
i.stale = false
|
||||||
i.staleRegion = image.Rectangle{}
|
i.staleRegion = image.Rectangle{}
|
||||||
|
Loading…
Reference in New Issue
Block a user