Make _register contextless
This commit is contained in:
1 parent
cb820eea4d
commit
14bf730a2c
1 file changed
+1
-1
@@ -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