aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;