Don't log SDL_POLLSENTINEL, it's purely for internal bookkeeping

main
Sam Lantinga 2021-10-15 00:01:39 -07:00
parent dd5d89505d
commit d5700ed20b
1 changed files with 4 additions and 0 deletions

View File

@ -378,6 +378,10 @@ SDL_LogEvent(const SDL_Event *event)
#undef SDL_EVENT_CASE
case SDL_POLLSENTINEL:
/* No logging necessary for this one */
break;
default:
if (!name[0]) {
SDL_strlcpy(name, "UNKNOWN", sizeof (name));