Commit 3b8c790c authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Use factors

parent 29ebac8d
......@@ -367,6 +367,11 @@ trans_make_fixed_blend_part(unsigned func, unsigned src_factor, unsigned dst_fac
if (!trans_make_dominant_factor(src_factor, &dominant_factor, &invert_dominant))
return false;
part.dominant_factor = dominant_factor;
part.complement_dominant = invert_dominant;
printf("Dominant factor %d (%d)\n", dominant_factor, invert_dominant);
/* Write out mode */
memcpy(out, &part, sizeof(part));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment