mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 14:40:38 +00:00
Tidying up erase code
This commit is contained in:
parent
9e36f80105
commit
e584fbfb8f
1 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue