diff --git a/OSBindings/SDL/main.cpp b/OSBindings/SDL/main.cpp index b77f7a570..4fda43c29 100644 --- a/OSBindings/SDL/main.cpp +++ b/OSBindings/SDL/main.cpp @@ -456,9 +456,8 @@ int main(int argc, char *argv[]) { SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE); SDL_GLContext gl_context = SDL_GL_CreateContext(window); - if(!window || !gl_context) - { - std::cerr << "Could not create window; error: " << SDL_GetError() << std::endl; + if(!window || !gl_context) { + std::cerr << "Could not create window; reported error: \"" << SDL_GetError() << "\"" << std::endl; return -1; }