canvas.getContext("webgl") returns undefined on Mac


#1

With electron 1.4.0-1.4.2 on MacOSX, canvas.getContext(“webgl”) returns undefined.
The same code runs OK on Linux, Windows with electron v.1.4.2 and MacOSX with v.1.3.6.


#2

I was wrong.
canvas.getContext(“webgl”) returns “null”, not “undefined” on MacOSX10.11.6 with electron 1.4.0-1.4.3.


#3

app.commandLine.appendSwitch(‘ignore-gpu-blacklist’);

Mac OSX10.11.6 Early 2011 MBP
Electron 1.4.15