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