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) }