aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaúl Ibarra Corretgé <s@saghul.net>2021-03-03 17:18:19 +0100
committerSaúl Ibarra Corretgé <s@saghul.net>2021-03-03 19:51:40 +0100
commitd91bdee32113692a642b42252a49aba1e15e5aa2 (patch)
tree61334a09b471edfb7a036b03d8f5206a39d776cc
parentb1e73df410db65769872a64176d4b41b3ee82a3b (diff)
Re-enable GPU acceleration
It broke screen-sharing, but was fixed in Chrome 88.
-rw-r--r--main.js3
1 files changed, 0 insertions, 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;