mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Make libpng image handler set opaque info.
svn path=/trunk/netsurf/; revision=6669
This commit is contained in:
parent
68a3e06b19
commit
8dfdd67e87
@ -247,6 +247,7 @@ bool nspng_convert(struct content *c, int width, int height)
|
||||
c->size += (c->width * c->height * 4) + NSPNG_TITLE_LEN;
|
||||
|
||||
c->bitmap = c->data.png.bitmap;
|
||||
bitmap_set_opaque(c->bitmap, bitmap_test_opaque(c->bitmap));
|
||||
bitmap_modified(c->bitmap);
|
||||
c->status = CONTENT_STATUS_DONE;
|
||||
content_set_status(c, "");
|
||||
|
Loading…
Reference in New Issue
Block a user