For package canvas-lite i expected only 2d context to be used
Screenshots
Browser & Versions (please complete the following information)
Browser: Chrome 123
OS: macOS 13.1
Additional context
Reproduced on every my device. I saw this behaviour when tried to debug problem on old android device, that doesn`t work correctly with webgl and immediately shows error instead of animation. Now i am confused why it works this way
If described behavior is correct and there is no bug, then maybe i can somehow choose what context i want to use to avoid webgl?
Description
I use canvas-lite package and when creating new Rive instance at first it trying to use webgl context
Provide a Repro
Small example https://codepen.io/Nadezhda-Trenogina/pen/yLWJvoK?editors=1111 Click "run" and alert will be shown with called context type. And there is webgl2 and webgl, only in the end will be 2d
Expected behavior
For package canvas-lite i expected only 2d context to be used
Screenshots
Browser & Versions (please complete the following information)
Additional context
Reproduced on every my device. I saw this behaviour when tried to debug problem on old android device, that doesn`t work correctly with webgl and immediately shows error instead of animation. Now i am confused why it works this way
If described behavior is correct and there is no bug, then maybe i can somehow choose what context i want to use to avoid webgl?