Permalink
Browse files

Merge pull request #33 from cx20/master

Added renderer name of Microsoft Edge.
  • Loading branch information...
2 parents dad6de2 + cf20f43 commit d2045df2cfe92e3271e0f0157aa74380a344ba40 @pjcozzi pjcozzi committed on GitHub Aug 27, 2016
Showing with 2 additions and 1 deletion.
  1. +2 −1 webglreport.js
View
@@ -134,9 +134,10 @@ $(function() {
function getAngle(gl) {
var lineWidthRange = describeRange(gl.getParameter(gl.ALIASED_LINE_WIDTH_RANGE));
- // Heuristic: ANGLE is only on Windows, not in IE, and does not implement line width greater than one.
+ // Heuristic: ANGLE is only on Windows, not in IE, and not in Edge, and does not implement line width greater than one.
var angle = ((navigator.platform === 'Win32') || (navigator.platform === 'Win64')) &&
(gl.getParameter(gl.RENDERER) !== 'Internet Explorer') &&
+ (gl.getParameter(gl.RENDERER) !== 'Microsoft Edge') &&
(lineWidthRange === describeRange([1,1]));
if (angle) {

0 comments on commit d2045df

Please sign in to comment.