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
c2fad00c23
commit
6bded203a8
5 changed files with 20 additions and 6 deletions
|
|
@ -68,7 +68,7 @@ class Canvas extends Widget {
|
|||
this.canvas = DOM.get(this.widget, 'canvas')[0]
|
||||
|
||||
this.ctx = this.canvas.getContext('2d',{
|
||||
desynchronized: true,
|
||||
desynchronized: ELECTRON_NOGPU ? false : true,
|
||||
lowLatency: true,
|
||||
alpha: true
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue