Add image.destroy
This commit is contained in:
1 parent
3aa0a733f3
commit
c516fb947f
6 files changed
+29
-16
No files matched your search
@@ -224,6 +224,7 @@ load_from_context :: proc(ctx: ^$C, options := Options{}, allocator := context.a
|
||||
if img == nil {
|
||||
img = new(Image)
|
||||
}
|
||||
img.which = .QOI
|
||||
|
||||
if .return_metadata in options {
|
||||
info := new(image.QOI_Info)
|
||||
|
||||
Reference in new issue
Block a user