aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-13 13:42:08 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-13 13:42:08 -0700
commit7b01e731ee0b0967ef5e60fb619802e7c8b10a2a (patch)
tree8ec71e01b5fa14465d6e7a64d731dee112594f0e
parentf870ca297612ac2af03f991ee58fc9a2d1702be4 (diff)
texParameteri
-rw-r--r--src/webGLWorker.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webGLWorker.js b/src/webGLWorker.js
index 3a862055..f0216207 100644
--- a/src/webGLWorker.js
+++ b/src/webGLWorker.js
@@ -653,6 +653,9 @@ function WebGLWorker() {
}
commandBuffer.push('bindTexture', 2, target, texture ? texture.id : 0);
};
+ this.texParameteri = function(target, pname, param) {
+ commandBuffer.push('texParameteri', 3, target, pname, param);
+ };
// Setup
var dropped = 0;