Fixed default GL version.

This commit is contained in:
Camilla Berglund 2010-09-11 15:13:23 +02:00
parent 63e64572a0
commit dc5ba0643d

View File

@ -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);