launcher: fix no-vsync setting persistence
This commit is contained in:
parent
429942dd58
commit
c72a8a12cc
3 changed files with 9 additions and 10 deletions
|
|
@ -8,7 +8,7 @@ dialog.showErrorBox = function(title,err) {
|
|||
app.commandLine.appendSwitch('--touch-events')
|
||||
|
||||
|
||||
if (settings.read('noVsync')) {
|
||||
if (settings.read('noVsync') || (!settings.cli && settings.read('argv')['disable-vsync'])) {
|
||||
app.commandLine.appendSwitch('--disable-gpu-vsync')
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue