Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Covkie authored Jan 23, 2025
1 parent 4690ee1 commit 07ae018
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ function init() {
if (hardwareAcceleration === false) {
app.disableHardwareAcceleration();
} else {
enabledFeatures.push("AcceleratedVideoDecodeLinuxGL", "AcceleratedVideoEncoder", "AcceleratedVideoDecoder", "AcceleratedVideoDecodeLinuxZeroCopyGL");
enabledFeatures.push(
"VaapiVideoDecodeLinuxGL",
"VaapiVideoEncoder",
"VaapiVideoDecoder",
"AcceleratedVideoDecodeLinuxZeroCopyGL"
);
}

if (disableSmoothScroll) {
Expand Down

0 comments on commit 07ae018

Please sign in to comment.