| 45 | _surface = rlottie::Surface(_buffer.get(), 100, 100, 100 * 4); |
| 46 | } |
| 47 | void render() |
| 48 | { |
| 49 | if (_cur >= _frames) _cur = 0; |
| 50 | _animation->renderSync(_cur++, _surface); |
| 51 | } |
| 52 | void renderAsync() |
| 53 | { |
| 54 | if (_cur >= _frames) _cur = 0; |
no test coverage detected