mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/graphicscommand: bug fix: clear buffers when disposing an image
Closes #2423
This commit is contained in:
parent
5eceabd172
commit
b096ba700a
@ -105,6 +105,7 @@ func (i *Image) flushBufferedWritePixels() {
|
||||
}
|
||||
|
||||
func (i *Image) Dispose() {
|
||||
i.bufferedWP = nil
|
||||
c := &disposeImageCommand{
|
||||
target: i,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user