diff --git a/bin/pixi.dev.js b/bin/pixi.dev.js index 84b2ff4..04088b2 100644 --- a/bin/pixi.dev.js +++ b/bin/pixi.dev.js @@ -7358,8 +7358,7 @@ * @property context * @type Canvas 2d Context */ - this.context = this.view.getContext( "2d" ); - + this.context = this.view.getContext( "2d" , { alpha: this.transparent } ); //some filter variables this.smoothProperty = null; diff --git a/bin/pixi.dev.js b/bin/pixi.dev.js index 84b2ff4..04088b2 100644 --- a/bin/pixi.dev.js +++ b/bin/pixi.dev.js @@ -7358,8 +7358,7 @@ * @property context * @type Canvas 2d Context */ - this.context = this.view.getContext( "2d" ); - + this.context = this.view.getContext( "2d" , { alpha: this.transparent } ); //some filter variables this.smoothProperty = null; diff --git a/src/pixi/renderers/canvas/CanvasRenderer.js b/src/pixi/renderers/canvas/CanvasRenderer.js index 3c2b5df..3290e7c 100644 --- a/src/pixi/renderers/canvas/CanvasRenderer.js +++ b/src/pixi/renderers/canvas/CanvasRenderer.js @@ -99,8 +99,7 @@ * @property context * @type Canvas 2d Context */ - this.context = this.view.getContext( "2d" ); - + this.context = this.view.getContext( "2d" , { alpha: this.transparent } ); //some filter variables this.smoothProperty = null;