aboutsummaryrefslogtreecommitdiff
path: root/src/webGLClient.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-13 13:29:51 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-13 13:29:51 -0700
commitcd987405b9e1f825172dbaa12e61748c8b2e7941 (patch)
tree6eeed79fd940f520f6e02b5608b603ceecdfd6b7 /src/webGLClient.js
parentb04bfab6e27d08722ab09aed0426baec3fdcc8ce (diff)
createTexture, bindTexture
Diffstat (limited to 'src/webGLClient.js')
-rw-r--r--src/webGLClient.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webGLClient.js b/src/webGLClient.js
index f1657003..173078c3 100644
--- a/src/webGLClient.js
+++ b/src/webGLClient.js
@@ -18,6 +18,7 @@ function WebGLClient() {
case 'compileShader':
case 'shaderSource': args[0] = objects[args[0]]; break;
case 'attachShader': args[0] = objects[args[0]]; args[1] = objects[args[1]]; break;
+ case 'bindTexture':
case 'bindBuffer': args[1] = args[1] ? objects[args[1]] : null; break;
}
return args;