mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-09 23:04:02 +02:00
Merge pull request #20965 from calixteman/enable_hwa_default
Enable hardware acceleration by default
This commit is contained in:
commit
7b2901bd21
@ -457,7 +457,7 @@ const defaultOptions = {
|
||||
},
|
||||
enableHWA: {
|
||||
/** @type {boolean} */
|
||||
value: typeof PDFJSDev !== "undefined" && !PDFJSDev.test("MOZCENTRAL"),
|
||||
value: true,
|
||||
kind: OptionKind.API + OptionKind.PREFERENCE,
|
||||
},
|
||||
enableWebGPU: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user