graphics: Revert ClearVolatileImages

This commit is contained in:
Hajime Hoshi 2018-02-28 23:21:23 +09:00
parent 02b4fc7917
commit 9e61d0622e

View File

@ -87,6 +87,7 @@ func (c *graphicsContext) Update(afterFrameUpdate func()) error {
return err return err
} }
for i := 0; i < updateCount; i++ { for i := 0; i < updateCount; i++ {
restorable.ClearVolatileImages()
setRunningSlowly(i < updateCount-1) setRunningSlowly(i < updateCount-1)
if err := hooks.Run(); err != nil { if err := hooks.Run(); err != nil {
return err return err