Merge pull request #2636 from pcram-techcyte/v5.0.1-hasTransparency-fix

Typo in hasTransparency check in webgldrawer
This commit is contained in:
Ian Gilman 2025-01-06 09:42:55 -08:00 committed by GitHub
commit b8b6a9656a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -322,7 +322,7 @@
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
if(useContext2dPipeline){