Skip to content

Commit

Permalink
merian-nodes: accum: fix undefined behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
LDAP committed Nov 27, 2024
1 parent 5c4869f commit 20fe1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/merian-nodes/nodes/accumulate/accumulate.comp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ void main() {

// REPROJECTION
prev_pos = ipos + mv;
float max_history = pc.accum_max_hist;
max_history = pc.accum_max_hist;
if (REUSE_BORDER) {
// Attemp to reuse information at the image border.
// This results in minor smearing but looks a lot better than
Expand Down

0 comments on commit 20fe1ba

Please sign in to comment.