Update comment in SDL_UserEvent for member type

This commit is contained in:
Petar Popovic
2025-10-17 13:20:15 +02:00
committed by Sam Lantinga
parent 474d38b14f
commit 201ad7f79b

View File

@@ -992,7 +992,7 @@ typedef struct SDL_QuitEvent
*/ */
typedef struct SDL_UserEvent typedef struct SDL_UserEvent
{ {
Uint32 type; /**< SDL_EVENT_USER through SDL_EVENT_LAST-1, Uint32 because these are not in the SDL_EventType enumeration */ Uint32 type; /**< SDL_EVENT_USER through SDL_EVENT_LAST, Uint32 because these are not in the SDL_EventType enumeration */
Uint32 reserved; Uint32 reserved;
Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */ Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
SDL_WindowID windowID; /**< The associated window if any */ SDL_WindowID windowID; /**< The associated window if any */