From d91bdee32113692a642b42252a49aba1e15e5aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 3 Mar 2021 17:18:19 +0100 Subject: [PATCH] Re-enable GPU acceleration It broke screen-sharing, but was fixed in Chrome 88. --- main.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.js b/main.js index f39a14c..e4439ab 100644 --- a/main.js +++ b/main.js @@ -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;