diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-18 13:52:02 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-18 13:52:02 -0700 |
commit | 34b58c52cd35f718dfb9fe75ae01bb03ffac06b9 (patch) | |
tree | 5458fb0746216c73839247243323eacbd91b20cf | |
parent | eb916912800a6c46d3d56606da11dc9424b5ad45 (diff) |
proxy compressedTexImage2D
-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 502decca..79d46595 100644 --- a/src/webGLWorker.js +++ b/src/webGLWorker.js @@ -745,6 +745,9 @@ function WebGLWorker() { assert(pixels); // we do not support the overloads that have fewer params commandBuffer.push('texImage2D', 9, target, level, internalformat, width, height, border, format, type, new pixels.constructor(pixels)); }; + this.compressedTexImage2D = function(target, level, internalformat, width, height, border, pixels) { + commandBuffer.push('compressedTexImage2D', 7, target, level, internalformat, width, height, border, new pixels.constructor(pixels)); + }; this.activeTexture = function(texture) { commandBuffer.push('activeTexture', 1, texture); }; |