diff options
author | Josiah White <me@jwhite.io> | 2017-11-30 03:17:02 -0500 |
---|---|---|
committer | Josiah White <me@jwhite.io> | 2017-11-30 03:17:02 -0500 |
commit | baf822d3de32678d5d895c8c7bb1942731e64173 (patch) | |
tree | 15f09592115ca0995100be0f3ef3901f5e1ce934 | |
parent | 7f3986815879421432ba6f4ea4b16c15925daccd (diff) | |
download | novnc-baf822d3de32678d5d895c8c7bb1942731e64173.tar.gz |
Initalize cached 16x16 tile.
-rw-r--r-- | core/display.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/display.js b/core/display.js index e61802a..91952d1 100644 --- a/core/display.js +++ b/core/display.js @@ -69,6 +69,7 @@ export default function Display(target) { throw new Error("Canvas does not support createImageData"); } + this._tile16x16 = this._drawCtx.createImageData(16, 16); Log.Debug("<< Display.constructor"); }; |