aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Liljenquist <jliljenq@gmail.com>2025-12-04 13:00:50 -0700
committerJames Liljenquist <jliljenq@gmail.com>2025-12-04 13:00:50 -0700
commit6ac4bc43e266edd172ec367b5837cef4d796f763 (patch)
tree5c51f2a9bfe369f5857dbf260dcdc6532a86a97f
parentc04c6dfcc6dd4885dc763cdeef1802cdb46afaf7 (diff)
Adding missing build flags to avoid load proc collision
-rw-r--r--core/image/jpeg/jpeg_js.odin1
-rw-r--r--core/image/jpeg/jpeg_os.odin1
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"