Removed duplicate post fx calls

This commit is contained in:
Richard Davey 2021-10-16 15:22:30 +01:00
parent 325f1c54ae
commit 43df6de757
2 changed files with 0 additions and 8 deletions

View file

@ -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;

View file

@ -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;