aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-01-16 12:25:39 +0000
committergingerBill <bill@gingerbill.org>2022-01-16 12:25:39 +0000
commit2a325b3da0fc7b6bf41418aee022cc71f0137bfb (patch)
tree3b74333ee616231656eee861a1a0f510e337fdfe
parentf0529535e02ab175bca3f7ff8c3bc2112d949236 (diff)
Update `ODIN_ENDIAN` usage
-rw-r--r--tests/core/image/test_core_image.odin2
1 files changed, 1 insertions, 1 deletions
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[:])