Morepretty

This commit is contained in:
treeform 2022-03-22 14:09:42 -07:00
parent b1f9b943f9
commit d3ee57bab1

View file

@ -781,12 +781,12 @@ proc drawUber(
when type(a) is Image and type(b) is Image:
if blendMode in {NormalBlend, OverwriteBlend} and
isOpaque(b.data, b.dataIndex(sx, sy), xStop - xStart):
copyMem(
a.data[a.dataIndex(x, y)].addr,
b.data[b.dataIndex(sx, sy)].addr,
(xStop - xStart) * 4
)
continue
copyMem(
a.data[a.dataIndex(x, y)].addr,
b.data[b.dataIndex(sx, sy)].addr,
(xStop - xStart) * 4
)
continue
when defined(amd64) and not defined(pixieNoSimd):
case blendMode: