Remove BITMAP_PERSISTENT flag.

This commit is contained in:
Michael Drake 2013-10-03 21:02:08 +01:00
parent 138d8c4677
commit 4c6a176d39
2 changed files with 3 additions and 4 deletions

View File

@ -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) */

View File

@ -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);