maybe this?
This commit is contained in:
parent
9b060afc6c
commit
dbb92fc4b6
1 changed files with 3 additions and 0 deletions
|
@ -160,6 +160,9 @@ Game.prototype.startGame = function () {
|
||||||
|
|
||||||
this.ctx = ctx;
|
this.ctx = ctx;
|
||||||
|
|
||||||
|
ctx.msImageSmoothingEnabled = false;
|
||||||
|
ctx.mozImageSmoothingEnabled = false;
|
||||||
|
ctx.webkitImageSmoothingEnabled = false;
|
||||||
ctx.imageSmoothingEnabled = false;
|
ctx.imageSmoothingEnabled = false;
|
||||||
ctx.drawImage(this.img, 0, 0, width, height);
|
ctx.drawImage(this.img, 0, 0, width, height);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue