From 6ac4bc43e266edd172ec367b5837cef4d796f763 Mon Sep 17 00:00:00 2001 From: James Liljenquist Date: Thu, 4 Dec 2025 13:00:50 -0700 Subject: [PATCH] Adding missing build flags to avoid load proc collision --- core/image/jpeg/jpeg_js.odin | 1 + core/image/jpeg/jpeg_os.odin | 1 + 2 files changed, 2 insertions(+) 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"