diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-03 16:23:24 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-03 16:23:24 -0700 |
commit | 80ed60983b3f9b51bf6d6622e44b08b894e7fd9d (patch) | |
tree | 0a2a53abf91c4795b7d9b08337979e8a6b6e8f82 /src | |
parent | 9cc7f9fa7a110e6c53f7df7583b40087459d5877 (diff) |
add another working glbook testcase
Diffstat (limited to 'src')
-rw-r--r-- | src/library_gl.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index d893acf0..f64073b6 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -1021,6 +1021,7 @@ var LibraryGLUT = { wrapper[prop] = function() { var printArgs = Array.prototype.slice.call(arguments).map(function(arg) { if (wrapper.objectMap[arg]) return '<' + arg + '|' + wrapper.objectMap[arg] + '>'; + if (arg.subarray) return '{' + arg + '|' + arg.length /*+ '|' + Array.prototype.slice.call(arg).toString().replace(/,/g, ', ')*/ + '}'; return arg; }); Module.printErr('[gl_f:' + prop + ':' + printArgs + ']'); |