2 Commits

Author SHA1 Message Date
Dmitry Marakasov
689f57b864 Exception rework
Now it explicitely stores name of SDL function which caused an error
and generates complete user-readable error message which contains both
function name and SDL error message. Users can now handle SDL2pp
exceptions along with all others in `catch (std::exception&)' and
get complete error info.

While here, fixed incorrect function names in some throw's
2015-01-19 01:41:37 +03:00
Dmitry Marakasov
e0032de447 Implement wrapper for SDL_image init/deinit
Fixes #21
2014-12-27 05:22:12 +03:00