Fixed default GL version.
This commit is contained in:
parent
63e64572a0
commit
dc5ba0643d
@ -165,7 +165,7 @@ int main(int argc, char** argv)
|
|||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (major != 1 || minor != 1)
|
if (major != 1 || minor != 0)
|
||||||
{
|
{
|
||||||
glfwOpenWindowHint(GLFW_OPENGL_VERSION_MAJOR, major);
|
glfwOpenWindowHint(GLFW_OPENGL_VERSION_MAJOR, major);
|
||||||
glfwOpenWindowHint(GLFW_OPENGL_VERSION_MINOR, minor);
|
glfwOpenWindowHint(GLFW_OPENGL_VERSION_MINOR, minor);
|
||||||
|
Loading…
Reference in New Issue
Block a user