My best guess would be something like:
Code: Select all
SDL_Surface* errorMessage=SDL_GetError();
But that seems inefficient to me, and it just seems like there's a better way to go about doing it.
So if anyone knows a better way (which I'm sure someone does) please let me in on it =)