Removed SDL_GetErrorMsg(), trivially implemented in application code

This commit is contained in:
Sam Lantinga committed 2023-12-01 09:08:23 -08:00
1 parent 66e532fa61
commit ecd56bb8f0
6 files changed
+5 -26

No files matched your search

-6
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;
}