mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Make sure we bind the framebuffer and pipeline in the boot step
This commit is contained in:
parent
68a87516dd
commit
41286b5170
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue