Fix a copy-and-paste mistake in getting GL version

macos/v1.5.9
Eric Anholt 11 years ago
parent e1a183c4eb
commit a1d555e446
  1. 2
      src/dispatch_common.c

@ -116,7 +116,7 @@ epoxy_gl_version(void)
GLint major, minor;
glGetIntegerv(GL_MAJOR_VERSION, &major);
glGetIntegerv(GL_MAJOR_VERSION, &minor);
glGetIntegerv(GL_MINOR_VERSION, &minor);
return major * 10 + minor;
}

Loading…
Cancel
Save