restorable: Refactoring

This commit is contained in:
Hajime Hoshi 2020-11-04 02:03:47 +09:00
parent 8da5ad2c4f
commit 48b46345d7

View File

@ -448,8 +448,6 @@ func (i *Image) readPixelsFromGPUIfNeeded() error {
if err := i.readPixelsFromGPU(); err != nil {
return err
}
i.drawTrianglesHistory = nil
i.stale = false
}
return nil
}