aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-25 18:09:40 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-02-25 18:09:40 -0500
commit023fc2e7efb2f0bcb58406ba56f90639debf8dba (patch)
tree4b381ea5d5acf53f950dc44a7d22fde439779902 /src/settings.js
parent87961191d46590e485cb1ab97b4cd95e692a5794 (diff)
use preserveDrawingBuffer in gl tests to make them work on latest firefox
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 df9da926..7caa5b92 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -158,6 +158,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_TESTING = 0; // When enabled, sets preserveDrawingBuffer in the context, to allow tests to work (but adds overhead)
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