From a7b75792ec0ce49525a5690f0db0f141a966a178 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Fri, 16 Oct 2015 05:18:14 +0200 Subject: [PATCH] Fix bug in simplification --- deps/glad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/glad.c b/deps/glad.c index a0268a61..7886e606 100644 --- a/deps/glad.c +++ b/deps/glad.c @@ -7,7 +7,7 @@ struct gladGLversionStruct GLVersion; static int has_ext(const char *ext) { #if defined(GL_VERSION_3_0) || defined(GL_ES_VERSION_3_0) - if(glGetStringi == NULL) { + if(GLVersion.major < 3 || glGetStringi == NULL) { #endif const char *extensions; const char *loc;