mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Make _register contextless
This commit is contained in:
@@ -1007,6 +1007,6 @@ destroy :: proc(img: ^Image) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@(init, private)
|
@(init, private)
|
||||||
_register :: proc() {
|
_register :: proc "contextless" () {
|
||||||
image.register(.JPEG, load_from_bytes, destroy)
|
image.register(.JPEG, load_from_bytes, destroy)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user