internal/restorable: fix comments

This commit is contained in:
Hajime Hoshi 2023-02-26 12:26:22 +09:00
parent c48d0fbb7a
commit 62e08e7356

View File

@ -262,7 +262,7 @@ func (i *Image) BasePixelsForTesting() *Pixels {
func (i *Image) makeStale(rect image.Rectangle) { func (i *Image) makeStale(rect image.Rectangle) {
i.stale = true i.stale = true
// If ReadPixels Always reads pixels from GPU, staleRegions are never used. // If ReadPixels always reads pixels from GPU, staleRegions are never used.
if AlwaysReadPixelsFromGPU() { if AlwaysReadPixelsFromGPU() {
return return
} }