aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/webGLClient.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webGLClient.js b/src/webGLClient.js
index fdd96964..c54ec2ab 100644
--- a/src/webGLClient.js
+++ b/src/webGLClient.js
@@ -7,6 +7,7 @@ function WebGLClient() {
switch (command) {
case 'compileShader':
case 'shaderSource': args[0] = objects[args[0]]; break;
+ case 'attachShader': args[0] = objects[args[0]]; args[1] = objects[args[1]]; break;
}
}