summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.html b/index.html
index f0ec376..ee6d5d5 100644
--- a/index.html
+++ b/index.html
@@ -24,6 +24,7 @@
canvas: {
width: document.getElementById('game-canvas').width,
height: document.getElementById('game-canvas').height,
+ context: document.getElementById('game-canvas').getContext("2d"),
}
};
</script>