Removed SDL_GetErrorMsg(), trivially implemented in application code

This commit is contained in:
Sam Lantinga
2023-12-01 09:08:23 -08:00
parent 66e532fa61
commit ecd56bb8f0
6 changed files with 5 additions and 26 deletions

View File

@@ -98,9 +98,3 @@ int SDL_Error(SDL_errorcode code)
return SDL_SetError("Unknown SDL error");
}
}
char *SDL_GetErrorMsg(char *errstr, int maxlen)
{
SDL_strlcpy(errstr, SDL_GetError(), maxlen);
return errstr;
}