aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-22 11:37:46 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-02-22 11:37:46 -0800
commit02ec49d58bbc468cac367b86d6ba1ceae6649b99 (patch)
tree745d65d9eb2421589a6c5d44ef50880d93c3c00f /src/settings.js
parentde644016429e268179962730dbb9172823985993 (diff)
GL_UNSAFE_OPTS option
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index 9023f7d8..f4e23c5b 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -163,6 +163,7 @@ var SOCKET_DEBUG = 0; // Log out socket/network data transfer.
var GL_DEBUG = 0; // Print out all calls into WebGL. As with LIBRARY_DEBUG, you can set a runtime
// option, in this case GL.debug.
var GL_MAX_TEMP_BUFFER_SIZE = 2097152; // How large GL emulation temp buffers are
+var GL_UNSAFE_OPTS = 1; // Enables some potentially-unsafe optimizations in GL emulation code
var DISABLE_EXCEPTION_CATCHING = 0; // Disables generating code to actually catch exceptions. If the code you
// are compiling does not actually rely on catching exceptions (but the