mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-02 19:40:10 +03:00
Merge 9f09a9253c
into 907b3c9177
This commit is contained in:
commit
df716db407
|
@ -40,8 +40,8 @@ ImagingFill(Imaging im, const void* colour)
|
||||||
memset(im->image[y], 0, im->linesize);
|
memset(im->image[y], 0, im->linesize);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ImagingSectionEnter(&cookie);
|
|
||||||
INT32 c = 0L;
|
INT32 c = 0L;
|
||||||
|
ImagingSectionEnter(&cookie);
|
||||||
memcpy(&c, colour, im->pixelsize);
|
memcpy(&c, colour, im->pixelsize);
|
||||||
if (im->image32 && c != 0L) {
|
if (im->image32 && c != 0L) {
|
||||||
for (y = 0; y < im->ysize; y++)
|
for (y = 0; y < im->ysize; y++)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user