aboutsummaryrefslogtreecommitdiff
path: root/core/image/tga/tga.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/tga/tga.odin
parent3194fda8f3b01affc086eec4102d924277fe9f43 (diff)
Require `@(init)` and `@(fini)` to be `proc "contextless" ()`
Diffstat (limited to 'core/image/tga/tga.odin')
-rw-r--r--core/image/tga/tga.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/image/tga/tga.odin b/core/image/tga/tga.odin
index 46e37a0cf..5fda803c5 100644
--- a/core/image/tga/tga.odin
+++ b/core/image/tga/tga.odin
@@ -406,6 +406,6 @@ IMAGE_DESCRIPTOR_RIGHT_MASK :: 1<<4
IMAGE_DESCRIPTOR_TOP_MASK :: 1<<5
@(init, private)
-_register :: proc() {
+_register :: proc "contextless" () {
image.register(.TGA, load_from_bytes, destroy)
} \ No newline at end of file