mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal/restorable: fix comments
This commit is contained in:
parent
c48d0fbb7a
commit
62e08e7356
@ -262,7 +262,7 @@ func (i *Image) BasePixelsForTesting() *Pixels {
|
||||
func (i *Image) makeStale(rect image.Rectangle) {
|
||||
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() {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user