mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
commit
07adad9ae8
1 changed files with 5 additions and 0 deletions
|
@ -235,6 +235,11 @@ PIXI.CanvasRenderer.prototype.resize = function(width, height)
|
|||
this.view.style.width = this.width / 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);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue