mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 13:07:26 +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 |
||
---|---|---|
.. | ||
input.go | ||
keys.go | ||
ui.go |