mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 06:30:38 +00:00
Set maxDim within the loop
This commit is contained in:
parent
6d49b94305
commit
ac060e8355
1 changed files with 2 additions and 2 deletions
|
@ -394,6 +394,8 @@ var PipelineManager = new Class({
|
|||
|
||||
// Duplicate RT for alt swap frame
|
||||
targets.push(new RenderTarget(renderer, targetWidth, targetWidth));
|
||||
|
||||
this.maxDimension = targetWidth;
|
||||
}
|
||||
|
||||
// Full-screen RTs
|
||||
|
@ -401,8 +403,6 @@ var PipelineManager = new Class({
|
|||
targets.push(new RenderTarget(renderer, renderWidth, renderHeight, 1, 0, true, true));
|
||||
targets.push(new RenderTarget(renderer, renderWidth, renderHeight, 1, 0, true, true));
|
||||
|
||||
this.maxDimension = (qty - 1) * this.frameInc;
|
||||
|
||||
// Install each of the default pipelines
|
||||
|
||||
var instance;
|
||||
|
|
Loading…
Reference in a new issue