From a1d555e4469aa4617ef56dd0e009b1c9f41ef224 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 11 Nov 2013 09:23:52 -0800 Subject: [PATCH] Fix a copy-and-paste mistake in getting GL version --- src/dispatch_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch_common.c b/src/dispatch_common.c index 7789daf..49d1b47 100644 --- a/src/dispatch_common.c +++ b/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; }