mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
2bdef2e8c4
isTexture was used to detect context-lost and called every frame. This was not good for performance. This change adds a way to notify context-lost from the WebGL handlers directly, and the package restorable uses it instead of calling (*Image).isInvalaidated. Fixes #1175 |
||
---|---|---|
.. | ||
glfw | ||
js | ||
mobile |