summaryrefslogtreecommitdiff
path: root/src/webGLClient.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-19 17:14:59 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-19 17:14:59 -0700
commitc7a6dd4ab312a91d218a99a017dea29d8d62941c (patch)
tree17c604a86f777240c6b8d7bd24e38b42267abd02 /src/webGLClient.js
parent43138933841d7075c2571345f3ffc48dcebeaf44 (diff)
client perf debugging
Diffstat (limited to 'src/webGLClient.js')
-rw-r--r--src/webGLClient.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webGLClient.js b/src/webGLClient.js
index 6c2238b3..266d7cfe 100644
--- a/src/webGLClient.js
+++ b/src/webGLClient.js
@@ -92,6 +92,7 @@ function WebGLClient() {
function renderAllCommands() {
// TODO: we can avoid running commands from buffers that are not the last, if they
// have no side effects, as each buffer is from a different frame
+ //if (commandBuffers.length > 1) dump('extra buffs: ' + (commandBuffers.length-1) + '\n');
for (var i = 0; i < commandBuffers.length; i++) {
renderCommands(commandBuffers[i]);
}