mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-04-07 01:38:18 +00:00
Set inituial mask to WHITE(7) instead of WHITE(3) to reduce artifacting in blank areas
This commit is contained in:
parent
426b662481
commit
b6a7b72fe1
@ -145,7 +145,7 @@ export def spriteCompile(w, h, xcenter, ycenter, srcptr)#1
|
||||
hgrRect(0, w + 21, 0, h - 1)
|
||||
hgrBLT(i, 0, w, h, srcptr)
|
||||
hgrCopyDst(i > 6 ?? 1 :: 0, 0, bytewidth, h, sprtptr=>s_map[i])
|
||||
hgrColor(3)
|
||||
hgrColor(7)
|
||||
hgrRect(0, w + 21, h, h * 2 - 1)
|
||||
spriteBLTMask(i, h, w, h, srcptr)
|
||||
hgrCopyDst(i > 6 ?? 1 :: 0, h, bytewidth, h, sprtptr=>s_mask[i])
|
||||
|
Loading…
x
Reference in New Issue
Block a user