immersive-web / webxr-polyfill

Use the WebXR Device API today, providing fallbacks to native WebVR 1.1 and Cardboard
Apache License 2.0
378 stars 84 forks source link

Add support for XRWebGLLayer.getNativeFramebufferScaleFactor() #127

Closed toji closed 4 years ago

toji commented 4 years ago

Turns out that the method wasn't added to the polyfill's definition of XRWebGLLayer and the polyfill was also breaking native implementations by shimming the XRWebGLLayer constructor to account for Chrome 76/77 compatibility issues (now no longer available).