mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +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 |