Merge pull request #28 from Bothan-tarot/master

Handling IE11
This commit is contained in:
Milan Nikolic
2021-01-28 16:19:03 +01:00
committed by GitHub

View File

@@ -82,7 +82,7 @@ var htmlWebGL = `<html>
var image = new Image();
ws.onopen = function() {
var gl = document.getElementById('canvas').getContext('webgl');
var gl = document.getElementById('canvas').getContext('webgl',{antialias:false}) || canvas.getContext('experimental-webgl');
var vertexShaderSrc =
"attribute vec2 aVertex;" +