mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18: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) {
|
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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user