Skip to content

Commit

Permalink
Fix alpha blending
Browse files Browse the repository at this point in the history
  • Loading branch information
defnull committed Mar 29, 2018
1 parent b736e44 commit 3221ab1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pixelnuke/canvas.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ void canvas_set_px(unsigned int x, unsigned int y, uint32_t rgba) {
r = (a * r + na * (ptr[0])) / 0xff;
g = (a * g + na * (ptr[1])) / 0xff;
b = (a * b + na * (ptr[2])) / 0xff;
return;
}
ptr[0] = r;
ptr[1] = g;
Expand Down

0 comments on commit 3221ab1

Please sign in to comment.