aboutsummaryrefslogtreecommitdiff
path: root/src/webGLClient.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-20 15:04:29 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-20 15:04:29 -0700
commit910843fccba8c4aae3f4b457e1650b294b213f5b (patch)
tree27d102372c0a34648d4ddc67a37635e4b4f48c9f /src/webGLClient.js
parent7021db66f57cbb6007ad9d62850d2d03bdf83df2 (diff)
debugPrint option for gl proxying
Diffstat (limited to 'src/webGLClient.js')
-rw-r--r--src/webGLClient.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webGLClient.js b/src/webGLClient.js
index 266d7cfe..f8b51ecc 100644
--- a/src/webGLClient.js
+++ b/src/webGLClient.js
@@ -67,6 +67,8 @@ function WebGLClient() {
//dump('issue+: ' + command + '(' + args + '), ' + numArgs + '\n');
if (command === 'getShaderParameter' || command === 'getProgramParameter') {
assert(ctx[command](args[0], args[1]), 'we cannot handle errors, we are async proxied WebGL');
+ //} else if (command === 'debugPrint') {
+ // dump(args[0] + '\n');
} else {
ctx[command].apply(ctx, args);
}