Skip to content

Commit

Permalink
Add log line to denote disabling hardware acceleration
Browse files Browse the repository at this point in the history
  • Loading branch information
novocaine committed May 20, 2022
1 parent 1ebe1b5 commit f766cd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/electron-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,7 @@ app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling,Media

// Disable hardware acceleration if the setting has been set.
if (store.get('disableHardwareAcceleration') === true) {
console.log("Disabling hardware acceleration.");
app.disableHardwareAcceleration();
}

Expand Down

0 comments on commit f766cd0

Please sign in to comment.