mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 11:28:15 +00:00
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:
@@ -5573,7 +5573,6 @@ const char *SDL_GetCSSCursorName(SDL_SystemCursor id, const char **fallback_name
|
|||||||
return "w-resize";
|
return "w-resize";
|
||||||
|
|
||||||
default:
|
default:
|
||||||
SDL_assert(0);
|
|
||||||
return "default";
|
return "default";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user