diff options
| author | James Liljenquist <jliljenq@gmail.com> | 2025-12-04 13:00:50 -0700 |
|---|---|---|
| committer | James Liljenquist <jliljenq@gmail.com> | 2025-12-04 13:00:50 -0700 |
| commit | 6ac4bc43e266edd172ec367b5837cef4d796f763 (patch) | |
| tree | 5c51f2a9bfe369f5857dbf260dcdc6532a86a97f /core/image | |
| parent | c04c6dfcc6dd4885dc763cdeef1802cdb46afaf7 (diff) | |
Adding missing build flags to avoid load proc collision
Diffstat (limited to 'core/image')
| -rw-r--r-- | core/image/jpeg/jpeg_js.odin | 1 | ||||
| -rw-r--r-- | core/image/jpeg/jpeg_os.odin | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/image/jpeg/jpeg_js.odin b/core/image/jpeg/jpeg_js.odin index 2a2de1d10..201752a6c 100644 --- a/core/image/jpeg/jpeg_js.odin +++ b/core/image/jpeg/jpeg_js.odin @@ -1,3 +1,4 @@ +#+build js package jpeg load :: proc{load_from_bytes, load_from_context} diff --git a/core/image/jpeg/jpeg_os.odin b/core/image/jpeg/jpeg_os.odin index 46e89c4c7..92c0bb447 100644 --- a/core/image/jpeg/jpeg_os.odin +++ b/core/image/jpeg/jpeg_os.odin @@ -1,3 +1,4 @@ +#+build !js package jpeg import "core:os" |