mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 06:21:45 +03:00
PNG: Bytes per pixel is always 4.
This commit is contained in:
parent
7c3382834e
commit
1dd3c80d9b
@ -170,7 +170,7 @@ static void info_callback(png_structp png_s, png_infop info)
|
||||
}
|
||||
|
||||
png_c->rowstride = guit->bitmap->get_rowstride(png_c->bitmap);
|
||||
png_c->bpp = guit->bitmap->get_bpp(png_c->bitmap);
|
||||
png_c->bpp = sizeof(uint32_t);
|
||||
|
||||
nspng_setup_transforms(png_s, info);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user