aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2022-01-16 13:54:22 +0100
committerDaniel Gavin <danielgavin5@hotmail.com>2022-01-16 13:54:22 +0100
commitf19325cbe04149bc5b5bc8db018ebad6c8f8eed3 (patch)
tree27d24e9df76889483edd95e973864fd5a4ef166e
parentd57ec4a11d217c906a1ed18161b0dc6beba02089 (diff)
parent2a325b3da0fc7b6bf41418aee022cc71f0137bfb (diff)
Merge remote-tracking branch 'upstream/master' into parser-fix
-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[:])