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
651a43c076
commit
e51d7ce947
@ -106,6 +106,7 @@ func (i *Image) resolveBufferedWritePixels() {
|
||||
}
|
||||
|
||||
func (i *Image) Dispose() {
|
||||
i.bufferedWP = nil
|
||||
c := &disposeImageCommand{
|
||||
target: i,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user