From 760f38f9535f30cdb42b2a2523105b98f15d6fdc Mon Sep 17 00:00:00 2001 From: TangoCash Date: Thu, 4 Nov 2021 19:37:35 +0100 Subject: [PATCH] fix transparency Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/49f03fdc2b66d7696b92ba3fb7d5061ecc2acfb9 Author: TangoCash Date: 2021-11-04 (Thu, 04 Nov 2021) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/pictureviewer/nanosvgrast.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver/pictureviewer/nanosvgrast.h b/src/driver/pictureviewer/nanosvgrast.h index 3cb743e6a..83b55f8ed 100644 --- a/src/driver/pictureviewer/nanosvgrast.h +++ b/src/driver/pictureviewer/nanosvgrast.h @@ -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) {