diff --git a/src/Platform/Sdl2Application.cpp b/src/Platform/Sdl2Application.cpp index d5e5b3855..8289ab5dd 100644 --- a/src/Platform/Sdl2Application.cpp +++ b/src/Platform/Sdl2Application.cpp @@ -94,7 +94,7 @@ bool Sdl2Application::tryCreateContext(Configuration* configuration) { SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, configuration->size().x(), configuration->size().y(), SDL_WINDOW_OPENGL|flags))) { - Error() << "Platform::Sdl2Application::tryCreateContext(): cannot create window"; + Error() << "Platform::Sdl2Application::tryCreateContext(): cannot create window:" << SDL_GetError(); std::exit(2); }