diff --git a/src/Magnum/Platform/Sdl2Application.cpp b/src/Magnum/Platform/Sdl2Application.cpp index 527b292b5..a629fec7e 100644 --- a/src/Magnum/Platform/Sdl2Application.cpp +++ b/src/Magnum/Platform/Sdl2Application.cpp @@ -127,7 +127,7 @@ Sdl2Application::Sdl2Application(const Arguments& arguments, NoCreateT): #endif if(SDL_Init(SDL_INIT_VIDEO) < 0) { - Error() << "Cannot initialize SDL."; + Error() << "Cannot initialize SDL:" << SDL_GetError(); std::exit(1); }