aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-08 11:38:39 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-02-08 11:38:39 -0800
commit9beec600be686bb78f4c8cd65f2e80504deae625 (patch)
tree7218654200f91fee3290f8a068500e1121c01d4c /src/settings.js
parentc8eb08da1e772d9320a4c41aed09eef8774f4815 (diff)
make gl temp buffer size adjustable
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js
index 0234d0ca..23898195 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -148,9 +148,11 @@ var LIBRARY_DEBUG = 0; // Print out when we enter a library call (library*.js).
// Runtime.debug at runtime for logging to cease, and can set it when you
// want it back. A simple way to set it in C++ is
// emscripten_run_script("Runtime.debug = ...;");
+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 SOCKET_DEBUG = 0; // Log out socket/network data transfer.
+var GL_MAX_TEMP_BUFFER_SIZE = 2097152; // How large GL emulation temp buffers are
var PROFILE_MAIN_LOOP = 0; // Profile the function called in set_main_loop