remove debug code

This commit is contained in:
Nic Barker 2026-04-20 12:47:02 +10:00
parent 081e762f83
commit bedb00c289

7
clay.h
View file

@ -1827,9 +1827,6 @@ Clay_LayoutElementHashMapItem* Clay__AddHashMapItem(Clay_ElementId elementId, Cl
int32_t indexToUse = 0;
if (context->layoutElementsHashMapFreeList.length > 0) {
indexToUse = Clay__int32_tArray_GetValue(&context->layoutElementsHashMapFreeList, context->layoutElementsHashMapFreeList.length - 1);
if (indexToUse == hashItemPrevious) {
int x = 5;
}
context->layoutElementsHashMapFreeList.length--;
} else {
indexToUse = context->layoutElementsHashMapInternal.length;
@ -4447,10 +4444,6 @@ void Clay_ApplyTransitionedPropertiesToElement(Clay_LayoutElement* currentElemen
}
}
void Clay__CreateDebugView() {
}
CLAY_WASM_EXPORT("Clay_EndLayout")
Clay_RenderCommandArray Clay_EndLayout(float deltaTime) {
Clay_Context* context = Clay_GetCurrentContext();