title: Win10 Electron Error: Passthrough is not supported, GL is disabled, ANGLE is
body: <p>I have an electron repo (<a href="https://github.com/MartinBarker/RenderTune" rel="noreferrer">https://github.com/MartinBarker/RenderTune</a>) which used to work on windows 10 fine when ran with command prompt. After a couple months I come back on a new fresh windows 10 machine with an Nvidia GPU, and the electron app prints an error in the window when starting up:</p>
  <pre><code>Uncaught TypeError: Cannot read properties of undefined (reading 'getCurrentWindow')
  </code></pre>
  <p>Running ffmpeg shell commands results in an error as well, and in the command prompt terminal this message is outputted:</p>
  <pre><code>[14880:1207/145651.085:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is disabled, ANGLE is
  </code></pre>
  <p>I checked on my other Windows laptop machines running the same exact code from the master branch of my repo, and it works perfectly fine when running locally.</p>
  <p>It seems like this might be a recent issue? I have found it discussed in various forums:
  <a href="https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1944468" rel="noreferrer">https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1944468</a></p>
  <p><a href="https://www.reddit.com/r/electronjs/comments/qdauhu/passthrough_is_not_supported_gl_is_disabled_angle/" rel="noreferrer">https://www.reddit.com/r/electronjs/comments/qdauhu/passthrough_is_not_supported_gl_is_disabled_angle/</a></p>
  <p>I tried upgrading my global electron npm package to a more recent version: electron@16.0.4 , but the errors still appear.</p>