fix canvas issue when gpu is disabled
This commit is contained in:
parent
7803b6d737
commit
1be0ec296d
4 changed files with 10 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ if (settings.read('noVsync') || (!settings.cli && settings.read('argv')['disable
|
|||
|
||||
if (settings.read('noGpu') || (!settings.cli && settings.read('argv')['disable-gpu'])) {
|
||||
app.disableHardwareAcceleration()
|
||||
app._noGpu = true
|
||||
}
|
||||
|
||||
if (settings.read('forceGpu') || (!settings.cli && settings.read('argv')['force-gpu'])) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue