mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 03:02:49 +01:00
restorable: Do not call resolveDeferred at the end of a frame
This does not make sense.
This commit is contained in:
parent
628a8d559a
commit
d2719188b4
@ -164,7 +164,6 @@ func (i *images) resolveDeferred() {
|
|||||||
// resolveStaleImages resolves stale images.
|
// resolveStaleImages resolves stale images.
|
||||||
func (i *images) resolveStaleImages() {
|
func (i *images) resolveStaleImages() {
|
||||||
i.lastTarget = nil
|
i.lastTarget = nil
|
||||||
i.resolveDeferred()
|
|
||||||
for img := range i.images {
|
for img := range i.images {
|
||||||
img.resolveStale()
|
img.resolveStale()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user