f09bd8c079
Don't call `render` from `Player::tick`; instead, require the frontends to explicitly call `render` when they wish to redraw. The frontend can query `Player::needs_render` to see if the stage is dirty and needs a redraw. Update desktop and web to use this new method. This fits better with the newer winit event loop model, which requires explicitly calling `request_redraw`, and should avoid spurious renders. |
||
---|---|---|
.. | ||
common | ||
demo | ||
extension | ||
js-src | ||
selfhosted | ||
src | ||
Cargo.toml |