mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
Remove BITMAP_PERSISTENT flag.
This commit is contained in:
parent
138d8c4677
commit
4c6a176d39
@ -59,9 +59,8 @@
|
||||
#define BITMAP_NEW 0
|
||||
#define BITMAP_OPAQUE (1 << 0) /** image is opaque */
|
||||
#define BITMAP_MODIFIED (1 << 1) /** buffer has been modified */
|
||||
#define BITMAP_PERSISTENT (1 << 2) /** retain between sessions */
|
||||
#define BITMAP_CLEAR_MEMORY (1 << 3) /** memory should be wiped */
|
||||
#define BITMAP_READY (1 << 4) /** fully initialised */
|
||||
#define BITMAP_CLEAR_MEMORY (1 << 2) /** memory should be wiped */
|
||||
#define BITMAP_READY (1 << 3) /** fully initialised */
|
||||
|
||||
#define BITMAP_SAVE_FULL_ALPHA (1 << 0) /** save with full alpha channel (if not opaque) */
|
||||
|
||||
|
@ -68,7 +68,7 @@ thumbnail_create(hlcache_handle *content,
|
||||
}
|
||||
|
||||
/* create a full size bitmap and plot into it */
|
||||
fsbitmap = bitmap_create(width, height, BITMAP_NEW | BITMAP_CLEAR_MEMORY | BITMAP_OPAQUE | BITMAP_PERSISTENT);
|
||||
fsbitmap = bitmap_create(width, height, BITMAP_NEW | BITMAP_CLEAR_MEMORY | BITMAP_OPAQUE);
|
||||
|
||||
SelectObject(bufferdc, fsbitmap->windib);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user