diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-15 22:47:41 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-15 22:47:41 -0700 |
commit | e2697bda82dd63df0e9dca1e657b3e57810edc2e (patch) | |
tree | 04424120b568adbc094e78d9529dca1dc9adf716 | |
parent | c24e5c28dbc5014d26f03dc6247b62684eba88f5 (diff) |
use printErr for gl warnings
-rw-r--r-- | src/library_gl.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index 34511bcb..f6e0f974 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -867,7 +867,7 @@ var LibraryGL = { $GLEmulation: { init: function() { // Add some emulation workarounds - console.log('WARNING: using emscripten GL emulation. This is a collection of limited workarounds, do not expect it to work'); + Module.printErr('WARNING: using emscripten GL emulation. This is a collection of limited workarounds, do not expect it to work'); _glEnable = function(cap) { if (cap == 0x0DE1) return; // GL_TEXTURE_2D if (cap == 0x0B20) return; // GL_LINE_SMOOTH @@ -1069,7 +1069,7 @@ var LibraryGL = { // Main functions initted: false, init: function() { - console.log('WARNING: using emscripten GL immediate mode emulation. This is very limited in what it supports'); + Module.printErr('WARNING: using emscripten GL immediate mode emulation. This is very limited in what it supports'); // Buffers for data this.tempData = new Float32Array(this.maxElements); |