diff options
Diffstat (limited to 'src/webGLWorker.js')
-rw-r--r-- | src/webGLWorker.js | 2 |
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 = []; }; } |