Skip to content

Commit

Permalink
Update Saturation.cpp
Browse files Browse the repository at this point in the history
Removing alpha channel access (undefined)
  • Loading branch information
jonoomph committed Oct 16, 2020
1 parent 143b948 commit 88677a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/effects/Saturation.cpp
Expand Up @@ -154,7 +154,6 @@ std::shared_ptr<Frame> Saturation::GetFrame(std::shared_ptr<Frame> frame, int64_
pixels[byte_index] = R;
pixels[byte_index + 1] = G;
pixels[byte_index + 2] = B;
pixels[byte_index + 3] = A; // leave the alpha value alone
}

// return the modified frame
Expand Down

0 comments on commit 88677a9

Please sign in to comment.