mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-20 14:41:09 +00:00
Make _register contextless
This commit is contained in:
@@ -1007,6 +1007,6 @@ destroy :: proc(img: ^Image) {
|
||||
}
|
||||
|
||||
@(init, private)
|
||||
_register :: proc() {
|
||||
_register :: proc "contextless" () {
|
||||
image.register(.JPEG, load_from_bytes, destroy)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user