mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
ELECTRON-261: removed extra attributes
removed extra attributes in the config file as per PR suggestion.
This commit is contained in:
10
js/main.js
10
js/main.js
@@ -138,17 +138,9 @@ function setChromeFlags() {
|
||||
// to disable gpu which fixes the black screen issue observed on
|
||||
// multiple monitors
|
||||
if (config.customFlags.disableGpu) {
|
||||
log.send(logLevels.INFO, 'Setting disable gpu flag');
|
||||
log.send(logLevels.INFO, 'Setting disable gpu, gpu compositing and d3d11 flags to true');
|
||||
app.commandLine.appendSwitch("disable-gpu", true);
|
||||
}
|
||||
|
||||
if (config.customFlags.disableGpuCompositing) {
|
||||
log.send(logLevels.INFO, 'Setting disable gpu compositing flag');
|
||||
app.commandLine.appendSwitch("disable-gpu-compositing", true);
|
||||
}
|
||||
|
||||
if (config.customFlags.disableD3d11) {
|
||||
log.send(logLevels.INFO, 'Setting disable d3d11 flag');
|
||||
app.commandLine.appendSwitch("disable-d3d11", true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user