From d4a21b7573f01a7d28bcdca805f0d6b0360932a8 Mon Sep 17 00:00:00 2001 From: Viktor Date: Thu, 8 Jan 2026 12:01:43 +0000 Subject: [PATCH] Fix TGA header detection --- core/image/general.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/image/general.odin b/core/image/general.odin index 1662cf14e..779f5d0b1 100644 --- a/core/image/general.odin +++ b/core/image/general.odin @@ -86,7 +86,7 @@ which_bytes :: proc(data: []byte) -> Which_File_Type { return v } get16le :: #force_inline proc(s: ^string) -> u16 { - v := u16(s[0]) | u16(s[1])<<16 + v := u16(s[0]) | u16(s[1])<<8 s^ = s[2:] return v }