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.
This commit is contained in:
Ryan C. Gordon
2024-06-01 22:32:43 -04:00
parent 9a9a3d1a33
commit 57a15933cd
-1
View File
@@ -5573,7 +5573,6 @@ const char *SDL_GetCSSCursorName(SDL_SystemCursor id, const char **fallback_name
return "w-resize";
default:
SDL_assert(0);
return "default";
}
}