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 651a43c076
commit e51d7ce947

View File

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