From 2a325b3da0fc7b6bf41418aee022cc71f0137bfb Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 16 Jan 2022 12:25:39 +0000 Subject: [PATCH] Update `ODIN_ENDIAN` usage --- tests/core/image/test_core_image.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/image/test_core_image.odin b/tests/core/image/test_core_image.odin index 155b69298..23a7c2561 100644 --- a/tests/core/image/test_core_image.odin +++ b/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[:])