Skip to content

Commit 6584e87

Browse files
committed
demo: fix creating WebGL textures from tiles
The cross-origin policy must be set. Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
1 parent 607cb8c commit 6584e87

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

demo/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@
240240
viewer = new OpenSeadragon({
241241
id: "view",
242242
prefixUrl: openseadragon_images,
243+
crossOriginPolicy: "anonymous",
243244
animationTime: 0.5,
244245
blendTime: 0.1,
245246
constrainDuringPan: true,

0 commit comments

Comments
 (0)