refactor: format
This commit is contained in:
@@ -64,9 +64,8 @@ bool create() {
|
|||||||
|
|
||||||
glContext = SDL_GL_CreateContext(window);
|
glContext = SDL_GL_CreateContext(window);
|
||||||
|
|
||||||
if (!glContext)
|
if (!glContext) {
|
||||||
{
|
std::cerr << "Could not create context! SDL error: " << SDL_GetError() << std::endl;
|
||||||
std::cerr << "Could not create context! SDL reports error: " << SDL_GetError() << std::endl;
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user