1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-22 18:28:52 -05:00

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);
}
if (major != 1 || minor != 1)
if (major != 1 || minor != 0)
{
glfwOpenWindowHint(GLFW_OPENGL_VERSION_MAJOR, major);
glfwOpenWindowHint(GLFW_OPENGL_VERSION_MINOR, minor);