diff options
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; |