mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Require @(init) and @(fini) to be proc "contextless" ()
This commit is contained in:
@@ -741,6 +741,6 @@ destroy :: proc(img: ^Image) {
|
||||
}
|
||||
|
||||
@(init, private)
|
||||
_register :: proc() {
|
||||
_register :: proc "contextless" () {
|
||||
image.register(.BMP, load_from_bytes, destroy)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user