mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
restorable: Refactoring
This commit is contained in:
parent
8da5ad2c4f
commit
48b46345d7
@ -448,8 +448,6 @@ func (i *Image) readPixelsFromGPUIfNeeded() error {
|
|||||||
if err := i.readPixelsFromGPU(); err != nil {
|
if err := i.readPixelsFromGPU(); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
i.drawTrianglesHistory = nil
|
|
||||||
i.stale = false
|
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user