From 56dd24e2e9e300206681601ecfeec187a4b200d2 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Wed, 9 Dec 2020 00:55:46 -0600 Subject: [PATCH] f --- src/pixie/blends.nim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pixie/blends.nim b/src/pixie/blends.nim index 3255883..b1e5e48 100644 --- a/src/pixie/blends.nim +++ b/src/pixie/blends.nim @@ -280,9 +280,7 @@ proc blendSaturation(a, b: ColorRGBA): ColorRGBA = blendSaturationFloats(a.color, b.color).rgba proc blendMask(a, b: ColorRGBA): ColorRGBA = - result.r = a.r - result.g = a.g - result.b = a.b + result = a result.a = min(a.a, b.a) proc blendSubtractMask(a, b: ColorRGBA): ColorRGBA =