Closed Squareys closed 6 years ago
I saw travis failing, will check what's going on later this week and fix it :)
I'll take a look later today, but I didn't think WebGL2RenderingContext was supported in any WebVR case
It was, and it should be supported for the Cardboard polyfill as well.
And for what it's worth I tried to figure out the Travis CI issue over the weekend and came up empty handed. I have no idea what's causing that error. Any thoughts, Jordan?
Error: Global must have the following attributes : navigator,HTMLCanvasElement,WebGLRenderingContext,WebGL2RenderingContext
A dummy WebGL2RenderingContext
needs to be added to ./test/lib/globals.js
as the tests run in node where GL doesn't really exist -- non-ideal but works for now!
Done, thanks @jsantell !
Looks good to me, thanks @Squareys!
Hi @toji !
I'm using WebXR with WebGL2 and it seems that Firefox is unable to find
setCompatibleXRDevice(...)
on a WebGL2 rendering context, if it is not explicitly extended also.Cheers, Jonathan.