aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-09-08 17:17:14 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-09-08 17:17:14 +0200
commit14bf730a2c33f9d0680026106c94c01c2ed7d017 (patch)
treeb90169e5501d0f81606232d1c4ec273d944238d3 /core
parentcb820eea4d77c2b06ac8c2fdb01fdcfad0053d38 (diff)
Make `_register` contextless
Diffstat (limited to 'core')
-rw-r--r--core/image/jpeg/jpeg.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/image/jpeg/jpeg.odin b/core/image/jpeg/jpeg.odin
index 31bb11a13..e67b104e3 100644
--- a/core/image/jpeg/jpeg.odin
+++ b/core/image/jpeg/jpeg.odin
@@ -1007,6 +1007,6 @@ destroy :: proc(img: ^Image) {
}
@(init, private)
-_register :: proc() {
+_register :: proc "contextless" () {
image.register(.JPEG, load_from_bytes, destroy)
}