summaryrefslogtreecommitdiff
path: root/src/webGLWorker.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/webGLWorker.js')
-rw-r--r--src/webGLWorker.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webGLWorker.js b/src/webGLWorker.js
index 97b757f4..76ee488f 100644
--- a/src/webGLWorker.js
+++ b/src/webGLWorker.js
@@ -514,6 +514,9 @@ function WebGLWorker() {
this.bindAttribLocation = function(program, index, name) {
commandBuffer.push('bindAttribLocation', 3, program.id, index, name);
};
+ this.linkProgram = function(program) {
+ commandBuffer.push('linkProgram', 1, program.id);
+ };
// Setup
var postMainLoop = Module['postMainLoop'];