f
This commit is contained in:
parent
ee442977fa
commit
380c9be181
1 changed files with 11 additions and 10 deletions
|
@ -1375,8 +1375,9 @@ proc fillCoverage(
|
|||
let colorVec = mm_set1_epi32(cast[int32](rgbx))
|
||||
|
||||
proc source(rgbx: ColorRGBX, coverage: uint8): ColorRGBX {.inline.} =
|
||||
if coverage > 0:
|
||||
if coverage == 255:
|
||||
if coverage == 0:
|
||||
discard
|
||||
elif coverage == 255:
|
||||
result = rgbx
|
||||
else:
|
||||
result = rgbx(
|
||||
|
|
Loading…
Reference in a new issue