Browse Source

png: Channel helper metadata.

Jeroen van Rijn 4 years ago
parent
commit
b4b53aeb71
1 changed files with 1 additions and 2 deletions
  1. 1 2
      core/image/common.odin

+ 1 - 2
core/image/common.odin

@@ -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
 }