Browse Source

png: Channel helper metadata.

Jeroen van Rijn 4 năm trước cách đây
mục cha
commit
b4b53aeb71
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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
 }