Re-enable GPU acceleration

It broke screen-sharing, but was fixed in Chrome 88.
This commit is contained in:
Saúl Ibarra Corretgé 2021-03-03 17:18:19 +01:00
parent b1e73df410
commit d91bdee321
1 changed files with 0 additions and 3 deletions

View File

@ -29,9 +29,6 @@ const showDevTools = Boolean(process.env.SHOW_DEV_TOOLS) || (process.argv.indexO
// We need this because of https://github.com/electron/electron/issues/18214
app.commandLine.appendSwitch('disable-site-isolation-trials');
// We need to disable hardware acceleration because its causes the screenshare to flicker.
app.commandLine.appendSwitch('disable-gpu');
// Needed until robot.js is fixed: https://github.com/octalmage/robotjs/issues/580
app.allowRendererProcessReuse = false;