From 57a15933cd90f46f4791faaa4394a3f8a019f234 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 26 May 2024 00:38:41 -0400 Subject: [PATCH] SDL_GetCSSCursorName: Don't assert on unrecognized cursor types. These values are passed through from the calling app and shouldn't trigger asserts when they are bogus. --- src/video/SDL_video.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 38f7123adc..538666dd90 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -5573,7 +5573,6 @@ const char *SDL_GetCSSCursorName(SDL_SystemCursor id, const char **fallback_name return "w-resize"; default: - SDL_assert(0); return "default"; } }