internal/restorable/image.go
func (i *Image) resolveStale() {
	if !IsRestoringEnabled() {
		return
	}

	if i.volatile {
		return
	}
	if i.screen {
		return
	}
	if !i.stale {
		return
	}
	i.readPixelsFromGPU()
}
func (i *Image) resolveStale() {
	if !IsRestoringEnabled() {
		return
	}

	if i.volatile {
		return
	}
	if i.screen {
		return
	}
	if !i.stale {
		return
	}
	i.readPixelsFromGPU()
}
func ( i * Image ) resolveStale ( ) { if ! IsRestoringEnabled ( ) { return } if i . volatile { return } if i . screen { return } if ! i . stale { return } i . readPixelsFromGPU ( ) }
// resolveStale resolves the image's 'stale' state.
resolveStale resolves the image s stale state .