Use new parameter validation macro

This commit is contained in:
Sam Lantinga
2025-09-16 21:51:03 -07:00
parent ee1c90a358
commit 25b2d2c821
60 changed files with 1113 additions and 1133 deletions

View File

@@ -24,7 +24,7 @@
bool SDL_OpenURL(const char *url)
{
if (!url) {
CHECK_PARAM(!url) {
return SDL_InvalidParamError("url");
}
return SDL_SYS_OpenURL(url);