Skip to content

Commit

Permalink
Fix noise when used in second cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
rasky authored and Themaister committed May 24, 2024
1 parent afc61e1 commit d7746d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parallel-rdp/rdp_renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ void Renderer::deduce_noise_state()
if (state.combiner[0].rgb.muladd == RGBMulAdd::Noise)
state.flags |= RASTERIZATION_NEED_NOISE_BIT;
}
else if (state.combiner[1].rgb.muladd == RGBMulAdd::Noise)
if (state.combiner[1].rgb.muladd == RGBMulAdd::Noise)
state.flags |= RASTERIZATION_NEED_NOISE_BIT;

if ((state.flags & (RASTERIZATION_ALPHA_TEST_BIT | RASTERIZATION_ALPHA_TEST_DITHER_BIT)) ==
Expand Down

0 comments on commit d7746d1

Please sign in to comment.