We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b00867 commit 2e825a6Copy full SHA for 2e825a6
explainer.md
@@ -397,7 +397,7 @@ function beginInlineXRSession() {
397
// Inline sessions must have an appropriately constructed WebGL layer
398
// set as the baseLayer prior to rendering. (This code assumes the WebGL
399
// context has already been made XR compatible.)
400
- let glLayer = new XRWebGLLayer(session, gl, { compositionDisabled: true });
+ let glLayer = new XRWebGLLayer(session, gl);
401
session.updateRenderState({ baseLayer: glLayer });
402
onSessionStarted(session);
403
})
@@ -658,7 +658,6 @@ enum XREye {
658
//
659
660
dictionary XRWebGLLayerInit {
661
- boolean compositionDisabled = false;
662
boolean antialias = true;
663
boolean depth = true;
664
boolean stencil = false;
0 commit comments