Replace x in &y Use &v in y syntax through core & vendor for switch/for statements
This commit is contained in:
1 parent
00d60e28c2
commit
3dec55f009
14 files changed
+33
-33
No files matched your search
@@ -36,7 +36,7 @@ destroy :: proc(img: ^Image) {
|
||||
bytes.buffer_destroy(&img.pixels)
|
||||
|
||||
if v, ok := img.metadata.(^image.PNG_Info); ok {
|
||||
for chunk in &v.chunks {
|
||||
for chunk in v.chunks {
|
||||
delete(chunk.data)
|
||||
}
|
||||
delete(v.chunks)
|
||||
|
||||
Reference in new issue
Block a user