1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-08 06:06:51 +02:00

#368 fix shadow edges overdraw

This commit is contained in:
XProger
2022-01-30 04:41:01 +03:00
parent 92b984692c
commit 220b35ee5a

View File

@@ -118,11 +118,12 @@ rasterizeS_asm:
.align_right:
tst width, #1
beq .scanline
ldrb pair, [tmp, width]
subs width, #1 // width--
ldrh pair, [tmp, width]
and indexA, pair, #0xFF
ldrb indexA, [LMAP, indexA]
orr pair, indexA, pair, lsl #8
and pair, #0xFF00
orr pair, indexA
strh pair, [tmp, width]
beq .scanline_end // width == 0