Make sure we bind the framebuffer and pipeline in the boot step

This commit is contained in:
Richard Davey 2018-12-18 14:58:42 +00:00
parent 68a87516dd
commit 41286b5170

View file

@ -616,6 +616,14 @@ var WebGLRenderer = new Class({
this.pipelines.TextureTintPipeline.currentFrame = blank; this.pipelines.TextureTintPipeline.currentFrame = blank;
this.blankTexture = blank; this.blankTexture = blank;
var gl = this.gl;
gl.bindFramebuffer(gl.FRAMEBUFFER, null);
gl.enable(gl.SCISSOR_TEST);
this.setPipeline(this.pipelines.TextureTintPipeline);
}, },
/** /**