diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-13 13:29:51 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-13 13:29:51 -0700 |
commit | cd987405b9e1f825172dbaa12e61748c8b2e7941 (patch) | |
tree | 6eeed79fd940f520f6e02b5608b603ceecdfd6b7 /src/webGLClient.js | |
parent | b04bfab6e27d08722ab09aed0426baec3fdcc8ce (diff) |
createTexture, bindTexture
Diffstat (limited to 'src/webGLClient.js')
-rw-r--r-- | src/webGLClient.js | 1 |
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; |