Added alpha:transparency to canvas renderer
This commit is contained in:
parent
228fa97b16
commit
53dcef5277
2 changed files with 2 additions and 4 deletions
|
@ -7358,8 +7358,7 @@ PIXI.CanvasRenderer = function(width, height, view, transparent)
|
|||
* @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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue