mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-30 06:58:30 +00:00
Removed SDL_GetErrorMsg(), trivially implemented in application code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user