Tidying up erase code

This commit is contained in:
Richard Davey 2018-11-13 15:27:42 +00:00
parent 9e36f80105
commit e584fbfb8f

View file

@ -917,19 +917,7 @@ var RenderTexture = new Class({
if (this.gl)
{
// if (this._eraseMode)
// {
// var blendMode = this.renderer.currentBlendMode;
// this.renderer.setBlendMode(BlendModes.ERASE);
// }
this.pipeline.batchTextureFrame(textureFrame, x, y, tint, alpha, this.camera.matrix, null);
// if (this._eraseMode)
// {
// this.renderer.setBlendMode(blendMode);
// }
}
else
{