diff options
author | Po Lu <luangruo@yahoo.com> | 2022-01-09 04:44:16 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-01-09 04:44:16 +0000 |
commit | 91f778d3af27a6c6d76da980b0082e00ebbf08ad (patch) | |
tree | 1201f12dda816c3522b0f769871c39694f0d6daa /src/haikuimage.c | |
parent | 97f41faf093280079f8cf409ee8604869964b9d9 (diff) | |
download | emacs-91f778d3af27a6c6d76da980b0082e00ebbf08ad.tar.gz |
Add support for native webp images on Haiku
* src/haikuimage.c (haiku_can_use_native_image_api): Add support
for `webp' images.
Diffstat (limited to 'src/haikuimage.c')
-rw-r--r-- | src/haikuimage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/haikuimage.c b/src/haikuimage.c index 4ffa214f1cf..fe960bbc291 100644 --- a/src/haikuimage.c +++ b/src/haikuimage.c @@ -52,6 +52,8 @@ haiku_can_use_native_image_api (Lisp_Object type) mime_type = "image/svg"; else if (EQ (type, Qpbm)) mime_type = "image/pbm"; + else if (EQ (type, Qwebp)) + mime_type = "image/webp"; if (!mime_type) return 0; |