diff options
| author | Po Lu | 2022-01-09 04:44:16 +0000 |
|---|---|---|
| committer | Po Lu | 2022-01-09 04:44:16 +0000 |
| commit | 91f778d3af27a6c6d76da980b0082e00ebbf08ad (patch) | |
| tree | 1201f12dda816c3522b0f769871c39694f0d6daa /src | |
| parent | 97f41faf093280079f8cf409ee8604869964b9d9 (diff) | |
| download | emacs-91f778d3af27a6c6d76da980b0082e00ebbf08ad.tar.gz emacs-91f778d3af27a6c6d76da980b0082e00ebbf08ad.zip | |
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')
| -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) | |||
| 52 | mime_type = "image/svg"; | 52 | mime_type = "image/svg"; |
| 53 | else if (EQ (type, Qpbm)) | 53 | else if (EQ (type, Qpbm)) |
| 54 | mime_type = "image/pbm"; | 54 | mime_type = "image/pbm"; |
| 55 | else if (EQ (type, Qwebp)) | ||
| 56 | mime_type = "image/webp"; | ||
| 55 | 57 | ||
| 56 | if (!mime_type) | 58 | if (!mime_type) |
| 57 | return 0; | 59 | return 0; |