diff options
Diffstat (limited to 'src/webGLWorker.js')
-rw-r--r-- | src/webGLWorker.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webGLWorker.js b/src/webGLWorker.js index 52f5d2ba..0282d83d 100644 --- a/src/webGLWorker.js +++ b/src/webGLWorker.js @@ -563,6 +563,9 @@ function WebGLWorker() { this.getProgramInfoLog = function(shader) { return ''; // optimistic assumption of success; no proxying }; + this.useProgram = function(program) { + commandBuffer.push('useProgram', 1, program.id); + }; // Setup var postMainLoop = Module['postMainLoop']; |