fix transparency

This commit is contained in:
TangoCash
2021-11-02 22:23:41 +01:00
committed by Thilo Graf
parent 4354b23cc1
commit 49c7a4507a

View File

@@ -1544,8 +1544,8 @@ void nsvgRasterizeFull(NSVGrasterizer* r,
if (r->scanline == NULL) return;
}
// for (i = 0; i < h; i++)
// memset(&dst[i*stride], 0, w*4);
for (i = 0; i < h; i++)
memset(&dst[i*stride], 0, w*4);
for (shape = image->shapes; shape != NULL; shape = shape->next)
{