diff options
| author | gingerBill <bill@gingerbill.org> | 2025-01-10 10:18:30 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2025-01-10 10:18:30 +0000 |
| commit | 4a2b13f1c24920d53ed451bd8c021aa504eee0d4 (patch) | |
| tree | 2766acdb138051f60ab17a06c26701469cb4e3f5 | |
| parent | b377ac182c5d546e0621aec4c67a2336fc6a89b4 (diff) | |
Fix foreign import names
| -rw-r--r-- | vendor/stb/image/stb_image_resize.odin | 2 | ||||
| -rw-r--r-- | vendor/stb/image/stb_image_write.odin | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vendor/stb/image/stb_image_resize.odin b/vendor/stb/image/stb_image_resize.odin index 978403daf..43909856e 100644 --- a/vendor/stb/image/stb_image_resize.odin +++ b/vendor/stb/image/stb_image_resize.odin @@ -18,7 +18,7 @@ when RESIZE_LIB != "" { } } -foreign import stbi { +foreign import lib { RESIZE_LIB when RESIZE_LIB != "" else "system:stb_image_resize", } diff --git a/vendor/stb/image/stb_image_write.odin b/vendor/stb/image/stb_image_write.odin index 315dfc34d..496f228a5 100644 --- a/vendor/stb/image/stb_image_write.odin +++ b/vendor/stb/image/stb_image_write.odin @@ -18,7 +18,7 @@ when WRITE_LIB != "" { } } -foreign import stbi { +foreign import stbiw { WRITE_LIB when WRITE_LIB != "" else "system:stb_image_write", } |