Morepretty
This commit is contained in:
parent
b1f9b943f9
commit
d3ee57bab1
1 changed files with 6 additions and 6 deletions
|
@ -781,12 +781,12 @@ proc drawUber(
|
||||||
when type(a) is Image and type(b) is Image:
|
when type(a) is Image and type(b) is Image:
|
||||||
if blendMode in {NormalBlend, OverwriteBlend} and
|
if blendMode in {NormalBlend, OverwriteBlend} and
|
||||||
isOpaque(b.data, b.dataIndex(sx, sy), xStop - xStart):
|
isOpaque(b.data, b.dataIndex(sx, sy), xStop - xStart):
|
||||||
copyMem(
|
copyMem(
|
||||||
a.data[a.dataIndex(x, y)].addr,
|
a.data[a.dataIndex(x, y)].addr,
|
||||||
b.data[b.dataIndex(sx, sy)].addr,
|
b.data[b.dataIndex(sx, sy)].addr,
|
||||||
(xStop - xStart) * 4
|
(xStop - xStart) * 4
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
when defined(amd64) and not defined(pixieNoSimd):
|
when defined(amd64) and not defined(pixieNoSimd):
|
||||||
case blendMode:
|
case blendMode:
|
||||||
|
|
Loading…
Reference in a new issue