diff --git a/core/image/netpbm/netpbm.odin b/core/image/netpbm/netpbm.odin index fb88cdc8c..83c8a2f59 100644 --- a/core/image/netpbm/netpbm.odin +++ b/core/image/netpbm/netpbm.odin @@ -752,7 +752,7 @@ autoselect_pbm_format_from_image :: proc(img: ^Image, prefer_binary := true, for @(init, private) _register :: proc() { - loader :: proc(data: []byte, options: Options, allocator: mem.Allocator) -> (img: ^Image, err: Error) { + loader :: proc(data: []byte, options: image.Options, allocator: mem.Allocator) -> (img: ^Image, err: Error) { return load_from_buffer(data, allocator) } image.register_loader(.PBM, loader) diff --git a/core/image/tga/tga.odin b/core/image/tga/tga.odin index 0539706b3..67a088eb5 100644 --- a/core/image/tga/tga.odin +++ b/core/image/tga/tga.odin @@ -12,7 +12,6 @@ package tga import "core:mem" import "core:image" -import "core:compress" import "core:bytes" import "core:os" diff --git a/examples/all/all_main.odin b/examples/all/all_main.odin index 5a0bc4d3e..36326b48e 100644 --- a/examples/all/all_main.odin +++ b/examples/all/all_main.odin @@ -166,8 +166,10 @@ _ :: xml _ :: fmt _ :: hash _ :: image +_ :: netpbm _ :: png _ :: qoi +_ :: tga _ :: io _ :: log _ :: math