diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-17 14:25:37 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-17 14:25:37 -0700 |
commit | a78eda74c6b3c81bf7132c2fbf0a401519f20c39 (patch) | |
tree | 6a62be6e32f3156688d5879c2499ff80a664941a /src/webGLClient.js | |
parent | 8b61e1aca532f5e3fef1fac9882cfd7e74894517 (diff) |
some debugging for gl client errors
Diffstat (limited to 'src/webGLClient.js')
-rw-r--r-- | src/webGLClient.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webGLClient.js b/src/webGLClient.js index 02e5793f..97d4e37f 100644 --- a/src/webGLClient.js +++ b/src/webGLClient.js @@ -66,6 +66,10 @@ function WebGLClient() { //dump('issue-: ' + command + '(' + args + '), ' + numArgs + '\n'); objects[id] = ctx[command].apply(ctx, args); } + //var err; + //while ((err = ctx.getError()) !== ctx.NO_ERROR) { + // dump('warning: GL error ' + err + ', after ' + [command, numArgs] + '\n'); + //} assert(i <= len); } } |