diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-05-13 19:39:16 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-05-13 19:39:16 -0700 |
commit | b915f42db8e2b454b8b07e0eb7f8a176fefdc534 (patch) | |
tree | c47876949f44fe7213ea52bddc70ba729600f56c /src/library_browser.js | |
parent | 17ba5c2b0712b8c871a260f3e1ce00527c5a4d1d (diff) | |
parent | 6701e2d57e27e68520b2c1dcd04893336884eccc (diff) |
Merge pull request #2348 from juj/context_lost
WebGL context loss handling improvements.
Diffstat (limited to 'src/library_browser.js')
-rw-r--r-- | src/library_browser.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/library_browser.js b/src/library_browser.js index 07d33b32..4ef7c577 100644 --- a/src/library_browser.js +++ b/src/library_browser.js @@ -322,11 +322,6 @@ mergeInto(LibraryManager.library, { #endif // Set the background of the WebGL canvas to black canvas.style.backgroundColor = "black"; - - // Warn on context loss - canvas.addEventListener('webglcontextlost', function(event) { - alert('WebGL context lost. You will need to reload the page.'); - }, false); } if (setInModule) { GLctx = Module.ctx = ctx; |