Merge pull request #285575 from microsoft/tyriar/285574

Increase webgl context max to 32
This commit is contained in:
Daniel Imms
2026-01-05 10:59:23 -08:00
committed by GitHub
+4
View File
@@ -352,6 +352,10 @@ function configureCommandlineSwitchesSync(cliArgs: NativeParsedArgs) {
// Runtime sets the default version to 3, refs https://github.com/electron/electron/pull/44426
app.commandLine.appendSwitch('xdg-portal-required-version', '4');
// Increase the maximum number of active WebGL contexts as each terminal may
// use up to 2
app.commandLine.appendSwitch('max-active-webgl-contexts', '32');
return argvConfig;
}