aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/webGLClient.js4
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);
}
}