diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-18 14:19:25 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-18 14:20:05 -0700 |
commit | d25fa198549b20c194f3c96a172c8bfc58aa1943 (patch) | |
tree | 768639fcf5cb56a0d5e7ccc8edd362cd3935db50 /src/webGLWorker.js | |
parent | a7ab04e3eeda3f40e6daef4d6026ac87b1f39505 (diff) |
proxy framebufferTexture2D
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 64892714..dc68ea61 100644 --- a/src/webGLWorker.js +++ b/src/webGLWorker.js @@ -804,6 +804,9 @@ function WebGLWorker() { this.bindFramebuffer = function(target, framebuffer) { commandBuffer.push('bindFramebuffer', 2, target, framebuffer ? framebuffer.id : 0); }; + this.framebufferTexture2D = function(target, attachment, textarget, texture, level) { + commandBuffer.push('framebufferTexture2D', 5, target, attachment, textarget, texture ? texture.id : 0, level); + }; // Setup var dropped = 0; |