In the wiki SDL_SetError returns void:
Code:
void SDL_SetError(const char* fmt, …)
however in the header file it’s int:
Code:
extern DECLSPEC int SDLCALL SDL_SetError(const char *fmt, …);
Seems like it returns -1 upon success and 0 if failed, right?