From 540840e7612137c532703e3b17adc9ff6b65e399 Mon Sep 17 00:00:00 2001 From: John Brucker Date: Sun, 30 Nov 2025 22:58:35 -0500 Subject: [PATCH] fix: remove duplicate context->layoutDimensions init --- clay.h | 1 - 1 file changed, 1 deletion(-) diff --git a/clay.h b/clay.h index c6e331c..35ebe90 100644 --- a/clay.h +++ b/clay.h @@ -4064,7 +4064,6 @@ Clay_Context* Clay_Initialize(Clay_Arena arena, Clay_Dimensions layoutDimensions context->measureTextHashMap.internalArray[i] = 0; } context->measureTextHashMapInternal.length = 1; // Reserve the 0 value to mean "no next element" - context->layoutDimensions = layoutDimensions; return context; }