diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-12 16:05:04 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-12 16:05:04 -0700 |
commit | 7f0a06540bc591946aa5bab0c1068baa0782afe9 (patch) | |
tree | 225932b71ac3a35fb2e67a667df11c9635864188 /src/proxyClient.js | |
parent | 67c05b0b515907ac9b08a1e10904da450320714f (diff) |
proxy context attributes
Diffstat (limited to 'src/proxyClient.js')
-rw-r--r-- | src/proxyClient.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proxyClient.js b/src/proxyClient.js index 45915eaa..bcdf7166 100644 --- a/src/proxyClient.js +++ b/src/proxyClient.js @@ -54,7 +54,7 @@ worker.onmessage = function worker_onmessage(event) { case 'canvas': { switch (data.op) { case 'getContext': { - Module.ctx = Module.canvas.getContext(data.type); + Module.ctx = Module.canvas.getContext(data.type, data.attributes); if (data.type !== '2d') Module.glClient = new WebGLClient(); break; } |