diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-03-24 18:09:28 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2022-03-24 18:09:28 +0000 |
commit | 002c3c1a7c2ae7229afac3f1966892fd42895aec (patch) | |
tree | bc9c769b176981296b5e92233fd623b3164a4513 /desktop/browser_history.c | |
parent | c2d72d1e9361b3017872e5aff16cfe9a894f3048 (diff) | |
download | netsurf-002c3c1a7c2ae7229afac3f1966892fd42895aec.tar.gz netsurf-002c3c1a7c2ae7229afac3f1966892fd42895aec.tar.bz2 |
Bitmap API: Clean up creation flags.
Diffstat (limited to 'desktop/browser_history.c')
-rw-r--r-- | desktop/browser_history.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/browser_history.c b/desktop/browser_history.c index 2fbc80f89..ce9821af8 100644 --- a/desktop/browser_history.c +++ b/desktop/browser_history.c @@ -106,7 +106,7 @@ browser_window_history__clone_entry(struct history *history, new_entry->page.bitmap = guit->bitmap->create( LOCAL_HISTORY_WIDTH, LOCAL_HISTORY_HEIGHT, - BITMAP_NEW | BITMAP_OPAQUE); + BITMAP_OPAQUE); if (new_entry->page.bitmap != NULL) { bmsrc_data = guit->bitmap->get_buffer(entry->page.bitmap); @@ -388,7 +388,7 @@ browser_window_history_add(struct browser_window *bw, entry->page.bitmap = guit->bitmap->create( LOCAL_HISTORY_WIDTH, LOCAL_HISTORY_HEIGHT, - BITMAP_NEW | BITMAP_CLEAR_MEMORY | BITMAP_OPAQUE); + BITMAP_CLEAR | BITMAP_OPAQUE); if (entry->page.bitmap != NULL) { ret = guit->bitmap->render(entry->page.bitmap, content); if (ret != NSERROR_OK) { |