aboutsummaryrefslogtreecommitdiff
path: root/core/image/qoi/qoi.odin
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-08-08 12:10:01 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-08-08 12:10:01 +0100
commit7642e0a0e0bb0ff79da6ac7a2ba3b787afa32b78 (patch)
treeaec4baaf441f58b3c6c9a8a55c61e5f8c6218f4b /core/image/qoi/qoi.odin
parent3194fda8f3b01affc086eec4102d924277fe9f43 (diff)
Require `@(init)` and `@(fini)` to be `proc "contextless" ()`
Diffstat (limited to 'core/image/qoi/qoi.odin')
-rw-r--r--core/image/qoi/qoi.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/image/qoi/qoi.odin b/core/image/qoi/qoi.odin
index 6b6149e60..ded8d7971 100644
--- a/core/image/qoi/qoi.odin
+++ b/core/image/qoi/qoi.odin
@@ -371,6 +371,6 @@ qoi_hash :: #force_inline proc(pixel: RGBA_Pixel) -> (index: u8) {
}
@(init, private)
-_register :: proc() {
+_register :: proc "contextless" () {
image.register(.QOI, load_from_bytes, destroy)
}