Skip to content

Commit dbf5e90

Browse files
committed
And another test
1 parent b55591a commit dbf5e90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Build/webxr_hololens_fbo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,8 @@
505505

506506
this.ctx.bindFramebuffer(this.ctx.FRAMEBUFFER, glLayer.framebuffer);
507507
if (session.isAR) {
508-
this.ctx.dontClearOnFrameStart = true;
509-
this.ctx.clear(this.ctx.COLOR_BUFFER_BIT | this.ctx.DEPTH_BUFFER_BIT);
508+
//this.ctx.dontClearOnFrameStart = true;
509+
this.ctx.clear(this.ctx.COLOR_BUFFER_BIT | this.ctx.DEPTH_BUFFER_BIT | this.ctx.STENCIL_BUFFER_BIT);
510510
} else {
511511
this.ctx.clear(this.ctx.COLOR_BUFFER_BIT | this.ctx.DEPTH_BUFFER_BIT);
512512
}

0 commit comments

Comments
 (0)