diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-04-04 19:22:04 +0300 |
|---|---|---|
| committer | Can Celik <ogulcancelik@gmail.com> | 2026-04-05 01:23:06 +0300 |
| commit | 41dd733ca7123c9ac4bfc6c781697a660e95b052 (patch) | |
| tree | 3fc91815ca139ef2e0b281bba0abda4ef15175f4 /vendor/libghostty-vt/src/stb/stb.c | |
| parent | 55c138263e190a1e79d4b997bfb9397306c0ec1f (diff) | |
feat: finish ghostty pane backend integration
Diffstat (limited to 'vendor/libghostty-vt/src/stb/stb.c')
| -rw-r--r-- | vendor/libghostty-vt/src/stb/stb.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/src/stb/stb.c b/vendor/libghostty-vt/src/stb/stb.c new file mode 100644 index 00000000..68c4c225 --- /dev/null +++ b/vendor/libghostty-vt/src/stb/stb.c @@ -0,0 +1,13 @@ +// For STBI we only need PNG because the only use case we have right now +// is the Kitty Graphics protocol which only supports PNG as a format +// besides raw RGB/RGBA buffers. +#define STBI_ONLY_PNG + +// We don't want to support super large images. +#define STBI_MAX_DIMENSIONS 131072 + +#define STB_IMAGE_IMPLEMENTATION +#include <stb_image.h> + +#define STB_IMAGE_RESIZE_IMPLEMENTATION +#include <stb_image_resize.h> |
