mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 05:20:28 +00:00
png: Channel helper metadata.
This commit is contained in:
@@ -319,8 +319,7 @@ return_single_channel :: proc(img: ^Image, channel: Channel) -> (res: ^Image, ok
|
||||
res.depth = img.depth
|
||||
res.pixels = t
|
||||
res.background = img.background
|
||||
// res.metadata_ptr = img.metadata_ptr
|
||||
// res.metadata_type = img.metadata_type
|
||||
res.metadata = img.metadata
|
||||
|
||||
return res, true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user