update signature of debug view close button handler

This commit is contained in:
TotallyGamerJet 2025-03-20 21:28:28 -04:00 committed by GitHub
parent f298e34bdc
commit 80caa0f4e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
clay.h
View File

@ -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) {