mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
Fix bug in simplification
This commit is contained in:
parent
9ea5291c48
commit
a7b75792ec
2
deps/glad.c
vendored
2
deps/glad.c
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user