rounding is very expensive
This commit is contained in:
parent
711f1f19b6
commit
d6a9429850
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ proc drawUber(
|
||||||
if smooth:
|
if smooth:
|
||||||
b.getRgbaSmooth(xFloat, yFloat)
|
b.getRgbaSmooth(xFloat, yFloat)
|
||||||
else:
|
else:
|
||||||
b.getRgbaUnsafe(xFloat.round.int, yFloat.round.int)
|
b.getRgbaUnsafe(xFloat.int, yFloat.int)
|
||||||
a.setRgbaUnsafe(x, y, mixer(rgba, rgba2))
|
a.setRgbaUnsafe(x, y, mixer(rgba, rgba2))
|
||||||
|
|
||||||
if blendMode == bmIntersectMask:
|
if blendMode == bmIntersectMask:
|
||||||
|
|
Loading…
Reference in a new issue