mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 06:30:38 +00:00
Removed duplicate post fx calls
This commit is contained in:
parent
325f1c54ae
commit
43df6de757
2 changed files with 0 additions and 8 deletions
|
@ -36,8 +36,6 @@ var RenderTextureWebGLRenderer = function (renderer, src, camera, parentMatrix)
|
|||
|
||||
var textureUnit = pipeline.setTexture2D(renderTarget.texture);
|
||||
|
||||
renderer.pipelines.preBatch(src);
|
||||
|
||||
pipeline.batchTexture(
|
||||
src,
|
||||
renderTarget.texture,
|
||||
|
@ -63,8 +61,6 @@ var RenderTextureWebGLRenderer = function (renderer, src, camera, parentMatrix)
|
|||
);
|
||||
|
||||
renderer.resetTextures();
|
||||
|
||||
renderer.pipelines.postBatch(src);
|
||||
};
|
||||
|
||||
module.exports = RenderTextureWebGLRenderer;
|
||||
|
|
|
@ -34,8 +34,6 @@ var TileSpriteWebGLRenderer = function (renderer, src, camera, parentMatrix)
|
|||
|
||||
camera.addToRenderList(src);
|
||||
|
||||
renderer.pipelines.preBatch(src);
|
||||
|
||||
var getTint = Utils.getTintAppendFloatAlpha;
|
||||
|
||||
var pipeline = renderer.pipelines.set(src.pipeline, src);
|
||||
|
@ -66,8 +64,6 @@ var TileSpriteWebGLRenderer = function (renderer, src, camera, parentMatrix)
|
|||
false,
|
||||
textureUnit
|
||||
);
|
||||
|
||||
renderer.pipelines.postBatch(src);
|
||||
};
|
||||
|
||||
module.exports = TileSpriteWebGLRenderer;
|
||||
|
|
Loading…
Reference in a new issue