Skip to content

Commit

Permalink
Added missing z_compare call in render_spans_2cycle_complete
Browse files Browse the repository at this point in the history
Fixes ata4#138, fixes ata4#139
  • Loading branch information
ata4 committed Mar 12, 2022
1 parent 6660e93 commit 7bd5b34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/n64video/rdp/rasterizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1097,6 +1097,8 @@ static void render_spans_2cycle_complete(struct rdp_state* wstate, int start, in

wstate->fbread2_ptr(wstate, curpixel, &curpixel_memcvg);

wen = z_compare(wstate, zbcur, sz, (uint16_t)dzpix, dzpixenc, &blend_en, &prewrap, &curpixel_cvg, curpixel_memcvg);

if (wen)
wen = blender_2cycle_cycle0(wstate, curpixel_cvg, curpixel_cvbit);

Expand Down

0 comments on commit 7bd5b34

Please sign in to comment.