on master help sign in
Merge remote-tracking branch 'alex/webgl' into topic/webgl
1dda7e0John P Mayer Jr
libraries/Native/Graphics/WebGL.js+1−1
@@ -227,7 +227,7 @@ Elm.Native.Graphics.WebGL.make = function(elm) {
227 function render(model) {
227 function render(model) {
228
228
229 var node = newNode('canvas');
229 var node = newNode('canvas');
230− var gl = node.getContext('webgl');
230+ var gl = node.getContext('webgl') || node.getContext('experimental-webgl');
231
231
232 model.cache.gl = gl;
232 model.cache.gl = gl;
233 model.cache.programs = [];
233 model.cache.programs = [];