fix transparency

Origin commit data
------------------
Branch: ni/coolstream
Commit: 49f03fdc2b
Author: TangoCash <eric@loxat.de>
Date: 2021-11-04 (Thu, 04 Nov 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2021-11-04 19:37:35 +01:00
committed by vanhofen
parent cd8484c643
commit 760f38f953

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)
{