Ebiten: restorable: Retry when restoring fails

Created on 31 Jan 2019  路  1Comment  路  Source: hajimehoshi/ebiten

To be exact, even after GL context is lost, restoring GPU resources might fail since GPU might not be ready. Then, creating resources can fail. In this case, Ebiten should wait for GPU ready.

Reference: https://www.youtube.com/watch?v=NHVtLC5QOpo

bug feature

Most helpful comment

If we could use Vulkan on Android and Metal on iOS, we could remove restoring logic. I think this is the way to go.

>All comments

If we could use Vulkan on Android and Metal on iOS, we could remove restoring logic. I think this is the way to go.

Was this page helpful?
0 / 5 - 0 ratings