fixed modern GL not enabling
This commit is contained in:
parent
9ff1710082
commit
0ae33c3356
@ -23,6 +23,8 @@ void SparrowRenderer::initGL(int width, int height)
|
||||
modernOpenglAvailable = false;
|
||||
fprintf(stderr, "Warning: modern OpenGL not supported!\nEnabling fallback crappy rendering mode\n");
|
||||
}
|
||||
else
|
||||
modernOpenglAvailable = true;
|
||||
|
||||
std::cout << "OpenGL version " << glGetString(GL_VERSION) << std::endl;
|
||||
std::cout << "GLSL version " << glGetString(GL_SHADING_LANGUAGE_VERSION) << std::endl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user