mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
f97570f523
commit
49fd2116c3
|
@ -1062,7 +1062,7 @@ font_render(FontObject *self, PyObject *args) {
|
|||
float src_alpha = (float) source[k * 4 + 3] / 255.0;
|
||||
float dst_alpha = (float) target[k * 4 + 3] / 255.0;
|
||||
float out_alpha = src_alpha + dst_alpha * (1.0 - src_alpha);
|
||||
|
||||
|
||||
/* unpremultiply BGRa to RGBA */
|
||||
int src_red = source[k * 4 + 0];
|
||||
int src_grn = source[k * 4 + 1];
|
||||
|
|
Loading…
Reference in New Issue
Block a user