1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

Add support for native webp images on Haiku

* src/haikuimage.c (haiku_can_use_native_image_api): Add support
for `webp' images.
This commit is contained in:
Po Lu 2022-01-09 04:44:16 +00:00
parent 97f41faf09
commit 91f778d3af

View File

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