瀏覽代碼

Merge remote-tracking branch 'upstream/master' into parser-fix

Daniel Gavin 3 年之前
父節點
當前提交
f19325cbe0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/core/image/test_core_image.odin

+ 1 - 1
tests/core/image/test_core_image.odin

@@ -1767,7 +1767,7 @@ write_image_as_ppm :: proc(filename: string, image: ^image.Image) -> (success: b
 	img := image
 
 	// PBM 16-bit images are big endian
-	when ODIN_ENDIAN == "little" {
+	when ODIN_ENDIAN == .Little {
 		if img.depth == 16 {
 			// The pixel components are in Big Endian. Let's byteswap back.
 			input  := mem.slice_data_cast([]u16,   img.pixels.buf[:])