aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-15 10:52:03 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-15 11:26:53 -0700
commit19047555b54a8190a927e77f2d1c73410ad4fd0a (patch)
tree008c65eac9a813394a640a4ba376f02b9dbb5b18 /src/settings.js
parentced412e4d5a26ad59a007b9e27d02c2e9ed99d15 (diff)
make legacy gl emulation an opt-in option, LEGACY_GL_EMULATION
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/settings.js b/src/settings.js
index 3ecac040..8757f7b9 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -191,9 +191,8 @@ var GL_TESTING = 0; // When enabled, sets preserveDrawingBuffer in the context,
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 FULL_ES2 = 0; // Forces support for all GLES2 features, not just the WebGL-friendly subset.
-var FORCE_GL_EMULATION = 0; // Forces inclusion of full GL emulation code.
-var DISABLE_GL_EMULATION = 0; // Disable inclusion of full GL emulation code. Useful when you don't want emulation
- // but do need INCLUDE_FULL_LIBRARY or MAIN_MODULE.
+var LEGACY_GL_EMULATION = 0; // Includes code to emulate various desktop GL features. Incomplete but useful
+ // in some cases, see https://github.com/kripken/emscripten/wiki/OpenGL-support
var STB_IMAGE = 0; // Enables building of stb-image, a tiny public-domain library for decoding images, allowing
// decoding of images without using the browser's built-in decoders. The benefit is that this