mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Implements WebGL support
This commit is contained in:
parent
944219ad8a
commit
f57c6935d7
12 changed files with 517 additions and 34 deletions
|
@ -1711,6 +1711,10 @@ function webViewerLoad(evt) {
|
|||
PDFJS.disableHistory = (hashParams['disableHistory'] === 'true');
|
||||
}
|
||||
|
||||
if ('webgl' in hashParams) {
|
||||
PDFJS.disableWebGL = (hashParams['webgl'] !== 'true');
|
||||
}
|
||||
|
||||
if ('useOnlyCssZoom' in hashParams) {
|
||||
USE_ONLY_CSS_ZOOM = (hashParams['useOnlyCssZoom'] === 'true');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue