mirror of
https://github.com/nicbarker/clay.git
synced 2025-12-25 10:31:05 +00:00
fix: remove duplicate context->layoutDimensions init
This commit is contained in:
parent
2749e56e7e
commit
540840e761
1
clay.h
1
clay.h
|
|
@ -4064,7 +4064,6 @@ Clay_Context* Clay_Initialize(Clay_Arena arena, Clay_Dimensions layoutDimensions
|
||||||
context->measureTextHashMap.internalArray[i] = 0;
|
context->measureTextHashMap.internalArray[i] = 0;
|
||||||
}
|
}
|
||||||
context->measureTextHashMapInternal.length = 1; // Reserve the 0 value to mean "no next element"
|
context->measureTextHashMapInternal.length = 1; // Reserve the 0 value to mean "no next element"
|
||||||
context->layoutDimensions = layoutDimensions;
|
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue