Skip to content

Commit 6d04f33

Browse files
authored
fix matte bug (#34)
1 parent fd36041 commit 6d04f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/iwrenderinstance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ TRasterGR8P IwRenderInstance::createMatteRas(ShapePair* shape) {
10721072

10731073
for (; x < matteRas->getLx(); x++, mattePix++, orgX++) {
10741074
// matteLayerが右にはみ出ている部分、matteは0
1075-
if (orgX >= ras->getLy()) {
1075+
if (orgX >= ras->getLx()) {
10761076
*mattePix = 0;
10771077
} else {
10781078
if (inPixList.contains(*orgPix))

0 commit comments

Comments
 (0)