reearth / resium

React components for 🌏 Cesium
https://resium.reearth.io
MIT License
727 stars 134 forks source link

"getWebGLStub" does not apply #589

Open tskubicki opened 1 year ago

tskubicki commented 1 year ago

I need to unit test Resium components. Being based on Cesium, and offering "contextOptions", I thought I'd be able to use getWebGLStub to avoid the WebGL requirements.

However, despite setting it, It always throws errors related to WebGL being unavailable.

I don't see much about this in the docs..can anyone enlighten me?

rot1024 commented 1 year ago

Can you post your question in Cesium Community? Because Resium only calls the Cesium API and does not touch the WebGL layer at all. Resium simply passes the contextOptions specified for the Viewer component directly to Cesium's Viewer. Resium cannot be involved in any subsequent issues.