Fix bug in simplification

This commit is contained in:
Camilla Berglund 2015-10-16 05:18:14 +02:00
parent 9ea5291c48
commit a7b75792ec

2
deps/glad.c vendored
View File

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