mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 02:42:02 +01:00
restorable: Skip resolving stale images when possible
This commit is contained in:
parent
e6143d0a2b
commit
2507379494
@ -57,6 +57,9 @@ func ResolveStaleImages() error {
|
||||
if err := graphics.FlushCommands(); err != nil {
|
||||
return err
|
||||
}
|
||||
if !restoringEnabled {
|
||||
return nil
|
||||
}
|
||||
return theImages.resolveStaleImages()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user