mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 03:32:01 +00:00
Minor text improvement.
This commit is contained in:
parent
e43de5f1ba
commit
ec14750ff1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user