From 80caa0f4e7ee85b2e39ebf99f9c7166ce30e6119 Mon Sep 17 00:00:00 2001 From: TotallyGamerJet Date: Thu, 20 Mar 2025 21:28:28 -0400 Subject: [PATCH] update signature of debug view close button handler --- clay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clay.h b/clay.h index 23841dc..28cc490 100644 --- a/clay.h +++ b/clay.h @@ -3205,7 +3205,7 @@ void Clay__RenderDebugViewCornerRadius(Clay_CornerRadius cornerRadius, Clay_Text } } -void HandleDebugViewCloseButtonInteraction(Clay_ElementId elementId, Clay_PointerData pointerInfo, intptr_t userData) { +void HandleDebugViewCloseButtonInteraction(Clay_ElementId elementId, Clay_PointerData pointerInfo, void *userData) { Clay_Context* context = Clay_GetCurrentContext(); (void) elementId; (void) pointerInfo; (void) userData; if (pointerInfo.state == CLAY_POINTER_DATA_PRESSED_THIS_FRAME) {