Merge pull request #2395 from sergey7c4/dev

Fixed issue #2317
This commit is contained in:
Richard Davey 2016-04-04 21:20:01 +01:00
commit 07adad9ae8

View file

@ -235,6 +235,11 @@ PIXI.CanvasRenderer.prototype.resize = function(width, height)
this.view.style.width = this.width / this.resolution + "px"; this.view.style.width = this.width / this.resolution + "px";
this.view.style.height = this.height / this.resolution + "px"; this.view.style.height = this.height / this.resolution + "px";
} }
if(this.renderSession.smoothProperty)
{
this.context[this.renderSession.smoothProperty] = (this.renderSession.scaleMode === PIXI.scaleModes.LINEAR);
}
}; };
/** /**