Browse Source

Platform: this error message was beyond useless.

pull/415/head
Vladimír Vondruš 6 years ago
parent
commit
d64a67ab63
  1. 2
      src/Magnum/Platform/Sdl2Application.cpp

2
src/Magnum/Platform/Sdl2Application.cpp

@ -127,7 +127,7 @@ Sdl2Application::Sdl2Application(const Arguments& arguments, NoCreateT):
#endif #endif
if(SDL_Init(SDL_INIT_VIDEO) < 0) { if(SDL_Init(SDL_INIT_VIDEO) < 0) {
Error() << "Cannot initialize SDL."; Error() << "Cannot initialize SDL:" << SDL_GetError();
std::exit(1); std::exit(1);
} }

Loading…
Cancel
Save