summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-10-03 21:02:08 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-10-03 21:02:08 +0100
commit4c6a176d39d47b79ee1c2a32116623a27446229f (patch)
tree1abfa03554dac24b440cb4ee14a142b44d876738
parent138d8c4677d80882df09df0eeda2f77bae963d5f (diff)
downloadnetsurf-4c6a176d39d47b79ee1c2a32116623a27446229f.tar.gz
netsurf-4c6a176d39d47b79ee1c2a32116623a27446229f.tar.bz2
Remove BITMAP_PERSISTENT flag.
-rw-r--r--image/bitmap.h5
-rw-r--r--windows/thumbnail.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/image/bitmap.h b/image/bitmap.h
index 3ca5ccdf8..614e8b6c6 100644
--- a/image/bitmap.h
+++ b/image/bitmap.h
@@ -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) */
diff --git a/windows/thumbnail.c b/windows/thumbnail.c
index e87745bae..c4ef63c43 100644
--- a/windows/thumbnail.c
+++ b/windows/thumbnail.c
@@ -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);