Skip to content

Commit

Permalink
renderer: also set requested alpha mode when using output LUT
Browse files Browse the repository at this point in the history
  • Loading branch information
haasn committed Feb 21, 2025
1 parent d778230 commit 7de2415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer.c
Original file line number Diff line number Diff line change
Expand Up @@ -2464,7 +2464,7 @@ static bool pass_output_target(struct pass_state *pass)
if (lut_type == PL_LUT_NATIVE) {
pl_shader_set_alpha(sh, &img->repr, PL_ALPHA_INDEPENDENT);
pl_shader_custom_lut(sh, target->lut, &rr->lut_state[LUT_TARGET]);
pl_shader_set_alpha(sh, &img->repr, PL_ALPHA_PREMULTIPLIED);
pl_shader_set_alpha(sh, &img->repr, target->repr.alpha);
}

// Rotation handling
Expand Down

0 comments on commit 7de2415

Please sign in to comment.