Fix M2x3MulRect and make profiler null-safe

This commit is contained in:
2026-03-28 17:54:00 +11:00
parent d6f4b9ab55
commit 0ff24117dd
2 changed files with 17 additions and 11 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ void DN_Demo()
// NOTE: DN_BytesFromHex
{
unsigned char bytes[2];
DN_USize bytes_written = DN_BytesFromHexStr8(DN_Str8Lit("0xFACE"), bytes, sizeof(bytes));
DN_USize bytes_written = DN_BytesFromHex(DN_Str8Lit("0xFACE"), bytes, sizeof(bytes));
DN_Assert(bytes_written == 2);
DN_Assert(bytes[0] == 0xFA);
DN_Assert(bytes[1] == 0xCE);