mirror of
https://github.com/photonstorm/phaser
synced 2024-12-04 10:30:29 +00:00
Use new fbo stack
This commit is contained in:
parent
02bde43772
commit
ff23ca57cb
1 changed files with 2 additions and 3 deletions
|
@ -779,7 +779,7 @@ var WebGLPipeline = new Class({
|
|||
|
||||
if (target)
|
||||
{
|
||||
renderer.setFramebuffer(this.targetFramebuffer);
|
||||
renderer.pushFramebuffer(this.targetFramebuffer);
|
||||
|
||||
if (this.targetAutoClear)
|
||||
{
|
||||
|
@ -865,8 +865,7 @@ var WebGLPipeline = new Class({
|
|||
*/
|
||||
postFlush: function (gameObject)
|
||||
{
|
||||
this.renderer.setFramebuffer(null);
|
||||
this.renderer.resetTextures();
|
||||
this.renderer.popFramebuffer();
|
||||
|
||||
var wasBound = this.renderer.setVertexBuffer(this.vertexBuffer);
|
||||
|
||||
|
|
Loading…
Reference in a new issue