mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Require @(init) and @(fini) to be proc "contextless" ()
This commit is contained in:
@@ -1611,6 +1611,6 @@ defilter :: proc(img: ^Image, filter_bytes: ^bytes.Buffer, header: ^image.PNG_IH
|
||||
}
|
||||
|
||||
@(init, private)
|
||||
_register :: proc() {
|
||||
_register :: proc "contextless" () {
|
||||
image.register(.PNG, load_from_bytes, destroy)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user