Add image.destroy

This commit is contained in:
gingerBill
2022-05-14 15:11:23 +01:00
parent 3aa0a733f3
commit c516fb947f
6 changed files with 29 additions and 16 deletions
+1
View File
@@ -372,6 +372,7 @@ load_from_context :: proc(ctx: ^$C, options := Options{}, allocator := context.a
if img == nil {
img = new(Image)
}
img.which = .PNG
info := new(image.PNG_Info)
img.metadata = info