Initalize cached 16x16 tile.
This commit is contained in:
parent
7f39868158
commit
baf822d3de
|
@ -69,6 +69,7 @@ export default function Display(target) {
|
||||||
throw new Error("Canvas does not support createImageData");
|
throw new Error("Canvas does not support createImageData");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this._tile16x16 = this._drawCtx.createImageData(16, 16);
|
||||||
Log.Debug("<< Display.constructor");
|
Log.Debug("<< Display.constructor");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue