Removed SDL_GetErrorMsg(), trivially implemented in application code
This commit is contained in:
1 parent
66e532fa61
commit
ecd56bb8f0
6 files changed
+5
-26
No files matched your search
@@ -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