mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
The PostFXPipeline.postBatch
method will now skip onDraw
is the pipeline hasn't booted, introducing an artificial frame skip. This should potentially fix glitch errors on mobile devices where Post FX would appear corrupted for a single frame. Fix #6681
This commit is contained in:
parent
fd1ab35419
commit
51074c4567
1 changed files with 4 additions and 2 deletions
|
@ -289,8 +289,10 @@ var PostFXPipeline = new Class({
|
|||
{
|
||||
this.bootFX();
|
||||
}
|
||||
|
||||
this.onDraw(this.currentRenderTarget);
|
||||
else
|
||||
{
|
||||
this.onDraw(this.currentRenderTarget);
|
||||
}
|
||||
|
||||
this.onPostBatch(gameObject);
|
||||
|
||||
|
|
Loading…
Reference in a new issue