diff options
author | Leon Krause <lk@leonkrause.com> | 2018-03-16 15:40:00 +0100 |
---|---|---|
committer | Leon Krause <lk@leonkrause.com> | 2018-03-16 15:40:00 +0100 |
commit | e06a56eac8c1fbf36e985697d3b6b1a66ec8ac0e (patch) | |
tree | 283d0ca0a2780e09881e45605c63810f62eb9b90 /platform/javascript | |
parent | 7275fb617064dfaffe96942016b7190dfc8e1366 (diff) |
Fix typo in engine.js
Diffstat (limited to 'platform/javascript')
-rw-r--r-- | platform/javascript/engine.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/javascript/engine.js b/platform/javascript/engine.js index 8f22e41660..e6fb48d0d2 100644 --- a/platform/javascript/engine.js +++ b/platform/javascript/engine.js @@ -267,9 +267,9 @@ try { var testCanvas = document.createElement('canvas'); if (majorVersion === 1) { - testContext = testCanvas.getContext('webgl') || testCanvas.getContet('experimental-webgl'); + testContext = testCanvas.getContext('webgl') || testCanvas.getContext('experimental-webgl'); } else if (majorVersion === 2) { - testContext = testCanvas.getContext('webgl2') || testCanvas.getContet('experimental-webgl2'); + testContext = testCanvas.getContext('webgl2') || testCanvas.getContext('experimental-webgl2'); } } catch (e) {} return !!testContext; |