Skip to content

Commit 41286b5

Browse files
committed
Make sure we bind the framebuffer and pipeline in the boot step
1 parent 68a8751 commit 41286b5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/renderer/webgl/WebGLRenderer.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,14 @@ var WebGLRenderer = new Class({
616616
this.pipelines.TextureTintPipeline.currentFrame = blank;
617617

618618
this.blankTexture = blank;
619+
620+
var gl = this.gl;
621+
622+
gl.bindFramebuffer(gl.FRAMEBUFFER, null);
623+
624+
gl.enable(gl.SCISSOR_TEST);
625+
626+
this.setPipeline(this.pipelines.TextureTintPipeline);
619627
},
620628

621629
/**

0 commit comments

Comments
 (0)