summaryrefslogtreecommitdiff
path: root/src/webGLWorker.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-09 17:35:53 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-09 17:35:53 -0700
commit7720b61e331117571ca806a8deaa12a616831335 (patch)
tree838555eedae644a9fa2ea6e51aa87467a3f27703 /src/webGLWorker.js
parentb44981ad9e2e792b31acb5d18ec17685bb8b156b (diff)
fix fixArgs return value
Diffstat (limited to 'src/webGLWorker.js')
-rw-r--r--src/webGLWorker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webGLWorker.js b/src/webGLWorker.js
index 5139d60e..adb6142e 100644
--- a/src/webGLWorker.js
+++ b/src/webGLWorker.js
@@ -608,7 +608,7 @@ function WebGLWorker() {
Module['postMainLoop'] = function() {
if (postMainLoop) postMainLoop();
// frame complete, send the command buffer
- postMessage({ target: 'gl', method: 'render', commandBuffer: commandBuffer });
+ postMessage({ target: 'gl', op: 'render', commandBuffer: commandBuffer });
commandBuffer = [];
};
}