Skip to content

Commit

Permalink
Update Saturation.cpp
Browse files Browse the repository at this point in the history
Fixing regression after conflict resolution
  • Loading branch information
jonoomph committed Oct 16, 2020
1 parent 88677a9 commit a7fe41c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/effects/Saturation.cpp
Expand Up @@ -151,9 +151,9 @@ std::shared_ptr<Frame> Saturation::GetFrame(std::shared_ptr<Frame> frame, int64_
B = constrain(B);

// Set all pixels to new value
pixels[byte_index] = R;
pixels[byte_index + 1] = G;
pixels[byte_index + 2] = B;
pixels[pixel * 4] = R;
pixels[pixel * 4 + 1] = G;
pixels[pixel * 4 + 2] = B;
}

// return the modified frame
Expand Down

0 comments on commit a7fe41c

Please sign in to comment.