summaryrefslogtreecommitdiff
path: root/content/handlers/image/gif.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-03-24 18:09:28 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-03-24 18:09:28 +0000
commit002c3c1a7c2ae7229afac3f1966892fd42895aec (patch)
treebc9c769b176981296b5e92233fd623b3164a4513 /content/handlers/image/gif.c
parentc2d72d1e9361b3017872e5aff16cfe9a894f3048 (diff)
downloadnetsurf-002c3c1a7c2ae7229afac3f1966892fd42895aec.tar.gz
netsurf-002c3c1a7c2ae7229afac3f1966892fd42895aec.tar.bz2
Bitmap API: Clean up creation flags.
Diffstat (limited to 'content/handlers/image/gif.c')
-rw-r--r--content/handlers/image/gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/image/gif.c b/content/handlers/image/gif.c
index 9ecc472bd..f06805d12 100644
--- a/content/handlers/image/gif.c
+++ b/content/handlers/image/gif.c
@@ -88,7 +88,7 @@ static inline nserror gif__nsgif_error_to_ns(nsgif_error gif_res)
*/
static void *gif_bitmap_create(int width, int height)
{
- return guit->bitmap->create(width, height, BITMAP_NEW);
+ return guit->bitmap->create(width, height, BITMAP_NONE);
}
static nserror gif_create_gif_data(gif_content *c)