Added alpha:transparency to canvas renderer

This commit is contained in:
Mat Groves 2014-01-21 21:46:49 +00:00
parent 228fa97b16
commit 53dcef5277
2 changed files with 2 additions and 4 deletions

View file

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