mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-28 08:04:00 +01:00
Merge pull request #285575 from microsoft/tyriar/285574
Increase webgl context max to 32
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user