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:
parent
97f41faf09
commit
91f778d3af
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user