aboutsummaryrefslogtreecommitdiff
path: root/src/webGLWorker.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/webGLWorker.js
parent7021db66f57cbb6007ad9d62850d2d03bdf83df2 (diff)
debugPrint option for gl proxying
Diffstat (limited to 'src/webGLWorker.js')
-rw-r--r--src/webGLWorker.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webGLWorker.js b/src/webGLWorker.js
index 4c221be0..d6d1404e 100644
--- a/src/webGLWorker.js
+++ b/src/webGLWorker.js
@@ -844,6 +844,9 @@ function WebGLWorker() {
this.framebufferRenderbuffer = function(target, attachment, renderbuffertarget, renderbuffer) {
commandBuffer.push('framebufferRenderbuffer', 4, target, attachment, renderbuffertarget, renderbuffer ? renderbuffer.id : 0);
};
+ //this.debugPrint = function(text) { // useful to interleave debug output properly with client GL commands
+ // commandBuffer.push('debugPrint', 1, text);
+ //};
// Setup
var dropped = 0;