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 b55591a commit dbf5e90Copy full SHA for dbf5e90
Build/webxr_hololens_fbo.js
@@ -505,8 +505,8 @@
505
506
this.ctx.bindFramebuffer(this.ctx.FRAMEBUFFER, glLayer.framebuffer);
507
if (session.isAR) {
508
- this.ctx.dontClearOnFrameStart = true;
509
- this.ctx.clear(this.ctx.COLOR_BUFFER_BIT | this.ctx.DEPTH_BUFFER_BIT);
+ //this.ctx.dontClearOnFrameStart = true;
+ this.ctx.clear(this.ctx.COLOR_BUFFER_BIT | this.ctx.DEPTH_BUFFER_BIT | this.ctx.STENCIL_BUFFER_BIT);
510
} else {
511
this.ctx.clear(this.ctx.COLOR_BUFFER_BIT | this.ctx.DEPTH_BUFFER_BIT);
512
}
0 commit comments