mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-30 14:41:42 +03:00
Merge pull request #2636 from pcram-techcyte/v5.0.1-hasTransparency-fix
Typo in hasTransparency check in webgldrawer
This commit is contained in:
commit
b8b6a9656a
@ -322,7 +322,7 @@
|
|||||||
tiledImage.debugMode
|
tiledImage.debugMode
|
||||||
);
|
);
|
||||||
|
|
||||||
let useTwoPassRendering = useContext2dPipeline || (tiledImage.opacity < 1) || firstTile.hasTransparency;
|
let useTwoPassRendering = useContext2dPipeline || (tiledImage.opacity < 1) || firstTile.tile.hasTransparency;
|
||||||
|
|
||||||
// using the context2d pipeline requires a clean rendering (back) buffer to start
|
// using the context2d pipeline requires a clean rendering (back) buffer to start
|
||||||
if(useContext2dPipeline){
|
if(useContext2dPipeline){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user