diff options
-rw-r--r-- | tests/test_browser.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py index 0fb45124..2ff9106b 100644 --- a/tests/test_browser.py +++ b/tests/test_browser.py @@ -880,19 +880,13 @@ keydown(100);keyup(100); // trigger the end context = canvas.getContext('experimental-webgl', {antialias: true}); attributes = context.getContextAttributes(); return attributes.antialias; - } - }); - - mergeInto(LibraryManager.library, { + }, webglDepthSupported: function() { canvas = document.createElement('canvas'); context = canvas.getContext('experimental-webgl', {depth: true}); attributes = context.getContextAttributes(); return attributes.depth; - } - }); - - mergeInto(LibraryManager.library, { + }, webglStencilSupported: function() { canvas = document.createElement('canvas'); context = canvas.getContext('experimental-webgl', {stencil: true}); |