mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2026-04-22 15:57:15 +08:00
371607544a
This change adds a logic to save GPU resources at GLSurfaceView.onPause as a precaution, and restore GPU resources from it when a context lost happens. This can fix issues where a context lost often occurs when an interstitial ad is shown. This change doesn't add any new APIs and do this resource reservation automatically. Closes #3215