diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-05-31 10:58:25 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-05-31 10:58:25 -0700 |
commit | 695e06078d78489d731306b713baebdc91e5f695 (patch) | |
tree | e837f2a6a10e7d236b128a2bcb5e446bc8c527db /src/library_browser.js | |
parent | f842201acec3c1edafb2916a76a8eb8d75474c2b (diff) |
do not do GL immediate mode emulation if a 2D context is being used, even if compiled with emulation
Diffstat (limited to 'src/library_browser.js')
-rw-r--r-- | src/library_browser.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library_browser.js b/src/library_browser.js index d49c4103..e9860742 100644 --- a/src/library_browser.js +++ b/src/library_browser.js @@ -77,6 +77,7 @@ mergeInto(LibraryManager.library, { } if (setInModule) { Module.ctx = ctx; + Module.useWebGL = useWebGL; Browser.moduleContextCreatedCallbacks.forEach(function(callback) { callback() }); } return ctx; |