Skip to content

Commit 2e825a6

Browse files
committed
Removed another overlooked compositionDisabled reference
1 parent 9b00867 commit 2e825a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

explainer.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function beginInlineXRSession() {
397397
// Inline sessions must have an appropriately constructed WebGL layer
398398
// set as the baseLayer prior to rendering. (This code assumes the WebGL
399399
// context has already been made XR compatible.)
400-
let glLayer = new XRWebGLLayer(session, gl, { compositionDisabled: true });
400+
let glLayer = new XRWebGLLayer(session, gl);
401401
session.updateRenderState({ baseLayer: glLayer });
402402
onSessionStarted(session);
403403
})
@@ -658,7 +658,6 @@ enum XREye {
658658
//
659659

660660
dictionary XRWebGLLayerInit {
661-
boolean compositionDisabled = false;
662661
boolean antialias = true;
663662
boolean depth = true;
664663
boolean stencil = false;

0 commit comments

Comments
 (0)