internal/graphicscommand: bug fix: clear buffers when disposing an image

Closes #2423
This commit is contained in:
Hajime Hoshi 2022-10-30 03:23:54 +09:00
parent 5eceabd172
commit b096ba700a

View File

@ -105,6 +105,7 @@ func (i *Image) flushBufferedWritePixels() {
}
func (i *Image) Dispose() {
i.bufferedWP = nil
c := &disposeImageCommand{
target: i,
}