cli: prevent --disable-gpu from bypassing the launcher
canvas: canvas glitches when hardware acceleration is disabled (--disable-gpu) (built-in gui only)
This commit is contained in:
parent
696a71a390
commit
fe4589719c
5 changed files with 20 additions and 6 deletions
|
|
@ -10,6 +10,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