Skip to content

Commit

Permalink
Correct Wipe, Blend, From Mid Transitions xLightsSequencer#5213
Browse files Browse the repository at this point in the history
  • Loading branch information
derwin12 committed Feb 18, 2025
1 parent 138f3a2 commit 60dbd88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xLights/effects/ispc/LayerBlendingFunctions.ispc
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ export void GetColorsISPCKernel(uniform const LayerBlendingData &data,
nc = cnt;
}
}
}
}
}
} else if (data.useMask && mask) {
int32 x = idx / data.bufferHi;
int32 y = idx - (x * data.bufferHi);
int32 x = idx % data.bufferWi;
int32 y = idx / data.bufferWi;
int32 midx = x * data.bufferHi + y;

if (mask[midx] > 0) {
Expand Down

0 comments on commit 60dbd88

Please sign in to comment.