cli: add --force-gpu switch

This commit is contained in:
bordun 2020-01-27 08:55:32 +01:00
parent 60cd50f9d5
commit c795c731bb
3 changed files with 8 additions and 0 deletions

View file

@ -75,6 +75,7 @@ var makeDefaultConfig = function(argv){
urlOptions: argv['url-options'] ? '?' + argv['url-options'].join('&') : '',
noVsync: argv['disable-vsync'] || false,
noGpu: argv['disable-gpu'] || false,
forceGpu: argv['force-gpu'] || false,
readOnly: argv['read-only'] || false,
remoteSaving: argv['remote-saving'] ? RegExp(argv['remote-saving']) : false,
remoteRoot: argv['remote-root'] || false,