Skip to content

Commit 07adad9

Browse files
committed
Merge pull request phaserjs#2395 from sergey7c4/dev
Fixed issue phaserjs#2317
2 parents 1528d54 + fef4c7b commit 07adad9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/pixi/renderers/canvas/CanvasRenderer.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,11 @@ PIXI.CanvasRenderer.prototype.resize = function(width, height)
235235
this.view.style.width = this.width / this.resolution + "px";
236236
this.view.style.height = this.height / this.resolution + "px";
237237
}
238+
239+
if(this.renderSession.smoothProperty)
240+
{
241+
this.context[this.renderSession.smoothProperty] = (this.renderSession.scaleMode === PIXI.scaleModes.LINEAR);
242+
}
238243
};
239244

240245
/**

0 commit comments

Comments
 (0)