mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Fix bug in simplification
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user