Permalink
Browse files

Added renderer name of Microsoft Edge.

Microsoft Edge's renderer has been changed from "Internet Explorer" to "Microsoft Edge" at Windows 10 Insider Preview Build 14352+
  • Loading branch information...
1 parent dad6de2 commit cf20f435cae1d4606642e4648f9e3b4e535d6a52 @cx20 cx20 committed Jul 28, 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 cf20f43

Please sign in to comment.